Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325424

Summary: [NPE QuerySet Editor] Wizard Class Creation
Product: [Modeling] MoDisco Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: TechnologiesAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: fabien.giquel, gdupe, hugo.bruneliere, modisco.web-inbox, nicolas.bros
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Nicolas Guyomar CLA 2010-09-16 05:41:25 EDT
Hi,

I get a NPE when I try to use the wizard class creation in the query editor.
Always reproducible (lastest MoDisco Nighlty)

- Create a new query in a querySet
- Right Click on th query to get the "Create the java query implementation class" action in the contextual menu
- Name the class, click on finish, the class is not created and a NPE is raised

Regards

Nicolas Guyomar
Comment 1 Nicolas Bros CLA 2010-09-17 05:29:49 EDT
Fixed in revision 3163.
This happened when either the return type or scope were not defined for the query.
Comment 2 Hugo Bruneliere CLA 2010-10-05 05:11:22 EDT
Bug fixed.