Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325424 - [NPE QuerySet Editor] Wizard Class Creation
Summary: [NPE QuerySet Editor] Wizard Class Creation
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 0.9.0 M2   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 05:41 EDT by Nicolas Guyomar CLA
Modified: 2013-04-29 07:55 EDT (History)
5 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.