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.

Bug 159377 - Web palette item JSF Form throws consistent NPE
Summary: Web palette item JSF Form throws consistent NPE
Status: CLOSED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) All
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-28 23:59 UTC by theshadow27
Modified: 2017-04-26 22:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
UI Gestures (manual upload) (671.28 KB, text/plain)
2009-03-01 00:02 UTC, theshadow27
Details
Messages.log (Manual Upload) (576.21 KB, text/plain)
2009-03-01 00:03 UTC, theshadow27
Details
Screenshot of wizard (38.56 KB, image/png)
2009-03-01 00:04 UTC, theshadow27
Details
Stack trace copied from exception window (3.55 KB, text/plain)
2009-03-01 00:05 UTC, theshadow27
Details

Note You need to log in before you can comment on or make changes to this bug.
Description theshadow27 2009-02-28 23:59:09 UTC
When running the "Insert JSF Form" dialog, selecting "Form Generated from Entity Class" selecting an Entity class and any of the three Bean options (create, 
use existing, or do not use) AND "Edit..." option under form field, the wizard throws a consistent NPE. Have replicated with two new projects, and all sorts 
of JSF JSP / plain JSP / XML JSP. Exception starts with (full as attachment)

	at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerUtil.findAnnotation(JpaControllerUtil.java:207)
	at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerUtil.findAnnotationValueAsBoolean(JpaControllerUtil.java:438)
	at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerUtil.isFieldOptionalAndNullable(JpaControllerUtil.java:398)
	at org.netbeans.modules.web.jsf.palette.items.JsfForm.createFormInternal(JsfForm.java:212)
	at org.netbeans.modules.web.jsf.palette.items.JsfForm.createForm(JsfForm.java:175)
	at org.netbeans.modules.web.jsf.palette.items.JsfForm.createForm(JsfForm.java:139)
	at org.netbeans.modules.web.jsf.palette.items.JsfForm$1.run(JsfForm.java:109)
Comment 1 theshadow27 2009-03-01 00:02:50 UTC
Created attachment 77513 [details]
UI Gestures (manual upload)
Comment 2 theshadow27 2009-03-01 00:03:37 UTC
Created attachment 77514 [details]
Messages.log (Manual Upload)
Comment 3 theshadow27 2009-03-01 00:04:28 UTC
Created attachment 77515 [details]
Screenshot of wizard
Comment 4 theshadow27 2009-03-01 00:05:57 UTC
Created attachment 77516 [details]
Stack trace copied from exception window
Comment 5 theshadow27 2017-04-26 22:20:39 UTC
OBSOLETE
Comment 6 theshadow27 2017-04-26 22:23:04 UTC
OBSOLETE