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 dmalecek. It already has 2 duplicates Build: NetBeans IDE 6.8 (Build 201004041201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux User Comments: GUEST: when I use "Entity Class" to create an empty entity, I get this error. Stacktrace: java.lang.NullPointerException at com.sun.source.util.TreePath.getPath(TreePath.java:53) at com.sun.source.util.TreePath.getPath(TreePath.java:44) at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:163) at org.netbeans.modules.j2ee.core.api.support.java.SourceUtils.classTree2TypeElement(SourceUtils.java:156) at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.ensureNoArgConstructor(GenerationUtils.java:351) at org.netbeans.modules.j2ee.persistence.wizard.entity.EntityWizard$1.run(EntityWizard.java:256)
Created attachment 107169 [details] stacktrace
Can you provide more specific information about how you step to reproduce this issue ? I'm creating new Enterprise project and putting new Entity class there without any trouble. Also tell me please which server have you used.