Open eclipse-modisco-bot opened 1 week ago
By Fabien Giquel on Aug 03, 2012 10:57
Created attachment 219537 stack trace
:notepad_spiral: stacktrace.txt
By Fabien Giquel on Aug 06, 2012 03:49
Looking at code reveal that the "kdm inventory model" discovery works on java project selection but does not create elements for referenced java projects selected in ELEMENTS_TO_ANALYZE. The generic "AbstractComposedKDMSourceDiscoverer2.discoverKDMSourceModel" method may be specialized.
By Benjamin Klatt on Dec 19, 2012 11:34
Hi Gregoire,
I noticed that your have reduced the priority for this issue. Is there a reason for this?
Cheers\ Benjamin
By Gregoire Dupe on Dec 20, 2012 06:47
(In reply to comment #3)
Yes, that means that we may not have enough time to solve this bug before the release of Kepler.
Regards,\ Grégoire
By Benjamin Klatt on Aug 16, 2013 04:34
Created attachment 234474 Patch make the Java and SourceModel Discoverer working for multiple projects
I have investigated into this issue and found a solution to make this working.
The patch includes the required modification.
Only the main JavaProject is discovered not any configured additional "elements to analyze". As a result only InventoryContainer (Project) exists in the InventoryModel (SourceModel) An the weaving process combining Java and Source Model assumed only one InventoryContainer and was not able to handle multiple.
DiscoverKDMSourceAndJavaModelFromJavaProject & DiscoverKDMSourceAndJavaModelFromProject
finishBuildingModel() overridden to first discover the KDM SourceModel for the additional elements to analyze
before calling the super.finishBuildingModel() of the AbstractDiscoverKDMSourceAndJavaModel
AbstractDiscoverKDMSourceAndJavaModel
:notepad_spiral: BugFix-386579.patch
By Niels Brouwers on Jan 15, 2015 08:19
I am running into the same problem. Unfortunately, the code has meanwhile changed that much that I am not able within the time I have to figure out how to apply the provided patch manually.
Any idea if this bug will be fixed? Tested on Eclipse Luna SR1 (installed using install Modeling components wizard).
| --- | --- | | Bugzilla Link | 386579 | | Status | NEW | | Importance | P5 normal | | Reported | Aug 03, 2012 10:56 EDT | | Modified | Jan 15, 2015 08:19 EDT | | Version | 0.10.0 | | Reporter | Fabien Giquel |
Description
The issue is always reproducible, both with Juno and Indigo releases, with any Java projet A which references one Java project B in workspace.
Choose "Discovery....->Discover Java and Inventory Model..."\ Choose in ELEMENTS_TO_ANALYZE, the prject A and also the project B.
--> IAE "No Null constraint violated".
I join the stacktrace