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.
1) new J2SE project 2) new Persistence Unit 3) new Entity Class 4) get NPE after class is opened in editor Editing Entity class is not possible, NPEs all the time after using CC for annotations.
Created attachment 30322 [details] Exception log
This is a regression. I am looking into it.
This is *not* a regression. Fix is to check for null before using ctx.getEntityMapping(). Checking in src/org/netbeans/modules/j2ee/verification/persistence/rules/annotation/EntityNameUnique.java; /cvs/j2ee/verification/src/org/netbeans/modules/j2ee/verification/persistence/rules/annotation/Attic/EntityNameUnique.java,v <-- EntityNameUnique.java new revision: 1.1.2.2; previous revision: 1.1.2.1 done Checking in src/org/netbeans/modules/j2ee/verification/persistence/rules/annotation/NamedQueryUnique.java; /cvs/j2ee/verification/src/org/netbeans/modules/j2ee/verification/persistence/rules/annotation/Attic/NamedQueryUnique.java,v <-- NamedQueryUnique.java new revision: 1.1.2.3; previous revision: 1.1.2.2 done
*** Issue 76446 has been marked as a duplicate of this issue. ***
build 20060517
*** Issue 77835 has been marked as a duplicate of this issue. ***
Will this fix be on the next Q-Build?
*** Issue 77177 has been marked as a duplicate of this issue. ***
*** Issue 79867 has been marked as a duplicate of this issue. ***