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.
Build: NetBeans IDE 7.1 (Build 201112071828) VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows 7 User Comments: ikoframe: I tried to create and entity class along with persistence unit. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.persistence.wizard.entity.EntityWizard.generateEntity(EntityWizard.java:343) at org.netbeans.modules.j2ee.persistence.wizard.entity.EntityWizard.instantiate(EntityWizard.java:162) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1048) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:617) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:426) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:247)
Created attachment 117592 [details] stacktrace
Some logging was added in 7.2 to track down possible reasons, but it's not in 7.1. Is it possible to reproduce the issue or it was once only?
It happened several times. I'll try to create some steps to reproduces it. Or maybe even debug it. I think that it was caused by some (not that obvious) misconfiguration. But anyway an error message is better than NullPointerException.
>P4 for now, to get more reports/statistic or more details
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.