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: | [65cat] NullPointerException at org.netbeans.modules.websvc.rest.codegen.EntityResourcesGenerator$1.run | ||
---|---|---|---|
Product: | webservices | Reporter: | sunbiz <sunbiz> |
Component: | REST | Assignee: | Nathan Fiedler <nlfiedler> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jungi |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=128904 | ||
Issue Type: | DEFECT | Exception Reporter: | 128904 |
Attachments: | stacktrace |
Description
sunbiz
2008-10-16 14:00:09 UTC
Created attachment 71972 [details]
stacktrace
happens if there's no persistence unit in the project, use ie these steps to reproduce: -create new webapp -open the rest from db wizard -in the first panel there choose some db connection, choose some table, push Add/Add all and press next -in this second panel fill in some pkg name, push Create PU button but dismiss it when it appears (ie. by Cancel button) -finish the wizard => NPE Fix in progress Fixed in changeset 1598cba016d8 in hg.netbeans.org/main Integrated into 'main-golden', will be available in build *200812091520* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1598cba016d8 User: Nathan Fiedler <nlfiedler@netbeans.org> Log: #150378: ensure persistence unit exists to avoid NPE. |