Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344082 - [Java Discovery] IllegalArgumentException in launch configurations
Summary: [Java Discovery] IllegalArgumentException in launch configurations
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.9.0 M7   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-28 03:49 EDT by Fabien Giquel CLA
Modified: 2011-08-18 08:17 EDT (History)
2 users (show)

See Also:
fabien.giquel: indigo+


Attachments
Stack Trace (8.75 KB, text/plain)
2011-04-28 03:51 EDT, Fabien Giquel CLA
no flags Details
Stack Trace alternative (8.80 KB, text/plain)
2011-04-28 03:51 EDT, Fabien Giquel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Giquel CLA 2011-04-28 03:49:10 EDT
Two kind of IllegalArgumentException are thrown with following scenario :

- opening launch configrations window (run as...)
- creating on discovery launch config with any discoverer/source
- creating a second discovery launch config with oem.discover.java.project discoverer and one valid source
- switching to the second launch config to the first.

The problem comes from getInitialValue service invocation for ElementsToAnalyze.

I attach two stacktrace.
Comment 1 Fabien Giquel CLA 2011-04-28 03:51:15 EDT
Created attachment 194238 [details]
Stack Trace
Comment 2 Fabien Giquel CLA 2011-04-28 03:51:36 EDT
Created attachment 194239 [details]
Stack Trace alternative
Comment 3 Fabien Giquel CLA 2011-04-28 04:13:30 EDT
Problem is coming from abnormal discovery source change event when switching from one launch config to another.
Comment 4 Fabien Giquel CLA 2011-04-28 05:25:48 EDT
A fix is commited into SVN (revision 4361)
Comment 5 Hugo Bruneliere CLA 2011-08-18 08:17:54 EDT
Bug solved.