| Summary: | [Java Discovery] Illegal parameter initializer for ELEMENTS_TO_ANALYZE | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Fabien Giquel <fabien.giquel> | ||||
| Component: | Technologies | Assignee: | Nicolas Bros <nicolas.bros> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | hugo.bruneliere, modisco.web-inbox, nicolas.bros | ||||
| Version: | 0.9.0 | Flags: | nicolas.bros:
indigo+
|
||||
| Target Milestone: | 0.9.0 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Fabien Giquel
Created attachment 193034 [details]
stack trace
Fixed in revision 4297. I have updated the modifications but still have the exceptions. More precisions about use case : 1 - going "Run Configurations..." 2 - creating conf Discoverer 3 - choosing in combo the discoverer "oem.java.discover.project" --> immediatly two new entries in log error --> if open widget "Elemnts_to_analyse", another exceptions in log error I committed a new fix in revision 4301. There was a problem when the source field was empty : it resulted in the workspace root to be returned, which doesn't have the expected type. So, I added a cell editor and dialog that deal specifically with IProjects. Hi Nicolas, i tested the fix. It works for "oem.java.discover.project" but i still have the exception for "oem.java.discover.javaProject". I had a look at the fix in "JavaElementsToAnalyzeComposite" and understood that the problem should be that a change source event has been sent when choosing "oem.java.discover.javaProject", and so one ElementsToAnalyze instance has been created. Moreover I think that "JavaElementsToAnalyzeComposite" class should not deduce, from one "ElementsToAnalyze" null value, that the discovery source is still null. So "You must first select a Java project as source." message should be replaced with some neutral "No Java elements to analyze" message. (In reply to comment #5) > I still have the exception for "oem.java.discover.javaProject". Fixed in revision 4326 by never creating an instance of ElementsToAnalyze for a null source. I also changed the error message in the dialog box. Bug solved. |