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 bug was originally marked as duplicate of bug 213669, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13 OS: Windows 7 User Comments: pkevin: Attempting to create Entity beans from entity classes. A large number of entity classes caused this error. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.generate(EjbFacadeWizardIterator.java:495) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.generate(EjbFacadeWizardIterator.java:232) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.instantiateWProgress(EjbFacadeWizardIterator.java:212) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator.instantiate(EjbFacadeWizardIterator.java:176) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1044) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
Created attachment 152558 [details] stacktrace
Any details on how to reproduce this? It looks like the Facade has been deleted and there are reports about already existing files. Any manual delete actions?
Only thing I can add to this report is that I was creating EJBs from Entity classes which had embedded classes which contained the primary key, via the @Embeddable and @EmbeddedId annotations. But then again, it didn't happen to all class(es) that contained those constructs. Perhaps just something that happened in the "Create entity classes from database" process that didn't create something correctly. Sorry I can't be more help on this.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss