This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This issue was reported manually by pjiricka. It already has 3 duplicates Build: NetBeans IDE Dev (Build web-main-4252-on-101201) VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261 OS: Mac OS X User Comments: GUEST: I'm building my own web application based on The NetBeans E-commerce Tutorial (i.e. i'm using my own database model and web page model while following the tutorial steps). At chapter Adding Entity Classes and Session Beans - Adding Session Beans step 4: clicking "Next" didn't do anything, then i saw the error button at the bottom right of the IDE. pjiricka: Generating session beans from entity beans. GUEST: I was following the Affable Bean tutorial. At stage 8, at the part when the tutorial shows how to add Session Beans for Entity Classes, I do steps 1, 2, 3 and 4. Step 4 is clicking "Add all" to add all Entity Classes. After that, when I click Next, an exception happens and the only button that still works is cancel. This happens every time. Hi, I'm the one who sent this report. I'd just like to add that I finally managed to go on with the tutorial. The exception still happened, but after a few more tries, I could also click Back and Next buttons. I kept clicking them (to see what would happen :)) and suddenly I could add all Entity Classes, click Next and then Finish. The exception was still there (red icon at bottom-right of the IDE window), but I didn't encounter any more problems. Stacktrace: java.lang.NullPointerException: The folder parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:89) at org.netbeans.modules.j2ee.core.api.support.SourceGroups.getFolderSourceGroup(SourceGroups.java:140) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeVisualPanel2.read(EjbFacadeVisualPanel2.java:87) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardPanel2.readSettings(EjbFacadeWizardPanel2.java:81) at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:910) at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:861)
Created attachment 103501 [details] stacktrace
Sergey, could I please ask you to look into this? (currently we have noone permanently assigned to the EJB area). I am getting this consistently when creating session beans from entities. Thanks.
do you have complete set of steps?
1. Create EE 6 web project with GF 3.1 target 2. Create entities from db 3. Create session beans from entities Exception occurs in the wizard on clicking Next.
either there is no problem with 3.0.1 or I can't reproduce, will download 3.1 to try
I can now with 3.0.1 and 3.1, need to invoke wizard on project's root node
http://hg.netbeans.org/web-main/rev/3e61b673f5db should be fixed
Integrated into 'main-golden', will be available in build *201012020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3e61b673f5db User: Sergey B. Petrov <sj-nb@netbeans.org> Log: fix #192746 - check fo null folder is added, silimar to almost all wizards