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.
Summary: | NPE after new Entity was created in J2SE project | ||
---|---|---|---|
Product: | javaee | Reporter: | Martin Adamek <madamek> |
Component: | Editor | Assignee: | Sanjeeb Sahoo <sahoo> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | tslota |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Exception log |
Description
Martin Adamek
2006-05-10 16:15:02 UTC
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. *** |