| Summary: | [Java] NPE due to method parameter of kind C1<X>.C2 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Fabien Giquel <fabien.giquel> | ||||||
| Component: | Technologies | Assignee: | Project Inbox <modisco.web-inbox> | ||||||
| Status: | NEW --- | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P5 | CC: | gdupe, modisco.web-inbox, nicolas.bros | ||||||
| Version: | 0.9.0 | Flags: | gdupe:
kepler+
|
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Fabien Giquel
Created attachment 201335 [details]
Stack trace
Created attachment 201336 [details]
A simple java class for getting the NPE
Here is a simple java class for getting the NPE with Java discoverer
For remember, on related bug 351590, the issue comes from PolygonsSet.followLoop method. Additionally, the method AVLTreeTest.value() also matches the problematic kind. An immediate workaround for related bug 351590 "Apache math commons" discovery is to comment the both "PolygonsSet.followLoop()" and "AVLTreeTest.value()" in code. The model discovery then success (along with 351590 SR1 workaround). Fixing the issue needs more investigation. I'm really sorry, but to guaranty maintainability of MoDisco (and EMF Facet) we have to focus this year on the move to EMF Facet. I cannot the plan this bug for Juno (of course if someone provides the fix we will commit it). This bug is still a major bug. It will then come back on the top just after the move to EMF Facet. |