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.web.jsf.wizards.JSFClientGenerator$10.run | ||
---|---|---|---|
Product: | javaee | Reporter: | wobster <wobster> |
Component: | JSF | Assignee: | Matthew Bohm <mbohm> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=132865 | ||
Issue Type: | DEFECT | Exception Reporter: | 132865 |
Attachments: | stacktrace |
Description
wobster
2008-10-24 13:47:30 UTC
Created attachment 72600 [details]
stacktrace
"eneration of JSF classes from JPA" issue. Most likely, one of your entities lacks a getter method for the id field. Please clean, zip, and attach the project so I can take a look. It would be nice if the tool did not throw a NPE when it could not find a getter for a given field. It'd be preferable to pop a dialog box that informed the user that the field requires a JavaBeans style getter. In my case, I had some code where the bean did not follow the JavaBean pattern exactly and caused the NPE. (I fixed the problem and the bug went away.) OK, will add it to the planning document. |