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: | Compilation fails after using Session Bean for Entity Classes wizard | ||
---|---|---|---|
Product: | javaee | Reporter: | Kenneth Ganfield <kganfield> |
Component: | Persistence | Assignee: | Sergey Petrov <sj-nb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Chiana, dheffelfinger, dkonecny, pjiricka |
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Exception for the latest daily build of EL |
Description
Kenneth Ganfield
2010-11-26 17:28:12 UTC
Looks like known issue, already resolved on eclipselink side, will be resolved in nb after update eclipselink to milestone nexte to M5. As a workaround if no annotation processor features is used, it's possible to remove eclipselink-modelgen library from project processor path libraries. It's new similar issue, and likely need to be resolved on eclipselink side too. (In reply to comment #3) > https://bugs.eclipse.org/bugs/show_bug.cgi?id=331343 How it this Eclipse issue related to this problem? 331343 was about NPE but this one is ClassCastException, no? yes, looks strange, may be Guy decide it's related, need to test daly eclipselink Created attachment 103465 [details]
Exception for the latest daily build of EL
The relationship is: when you try this scenario with the latest daily build of EclipseLink (as opposed to the M4 build that we bundle), you will not get the ClassCastException, but you will get the attached NPE.
verified with eclipselink-2.2.0.v20101201-r8590 and see neither classcase nor nullpointer, build is successful. *** Bug 193208 has been marked as a duplicate of this bug. *** for dev/beta etc it sould be fixed http://hg.netbeans.org/web-main/rev/e9e05f2b5559 will test after build. for release it should be updated. Integrated into 'main-golden', will be available in build *201012160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e9e05f2b5559 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: fix #192543 update to 2.2.0 m6 fixed |