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 Dev (Build 201203200400) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.model.JavacElements.cast(JavacElements.java:680) at com.sun.tools.javac.model.JavacElements.getAllMembers(JavacElements.java:436) at com.sun.tools.javac.model.JavacElements.getAllMembers(JavacElements.java:61) at org.netbeans.modules.j2ee.persistence.wizard.EntityClosure$6.run(EntityClosure.java:332) at org.netbeans.modules.j2ee.persistence.wizard.EntityClosure$6.run(EntityClosure.java:322) at org.netbeans.api.java.source.JavaSource$MimeTask.run(JavaSource.java:549)
Created attachment 117197 [details] stacktrace
EntityClosure should not pass null as an argument to Elements.getAllMembers(...).
It shouln't be hard to add null check to Util.getEnabledItems for returned items, but it's better o know how null items may appear. Is there any specific database schema/selection order?
just one report and no details so far, may be reproducible on specific tables set but need to know.