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 174182 - [68cat] NullPointerException at org.netbeans.modules.web.jsf.wizards.JSFClientGenerator.addLinkToListJspIntoIndexJsp
Summary: [68cat] NullPointerException at org.netbeans.modules.web.jsf.wizards.JSFClien...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Butenko
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-09 05:59 UTC by Masaki Katakai
Modified: 2009-10-15 10:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159732


Attachments
stacktrace (1.17 KB, text/plain)
2009-10-09 05:59 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-10-09 05:59:48 UTC
Build: NetBeans IDE 6.8 M2 (Build 200910071658)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS, 5.11, x86

User Comments:
masaki: Try to add JSP pages from Entity Class but I used Java EE 5 as Java EE version. It looks NetBeans is trying to add JSF 2.0 support at adding JSF when when Java EE 5 is selected.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.web.jsf.wizards.JSFClientGenerator.addLinkToListJspIntoIndexJsp(JSFClientGenerator.java:483)
        at org.netbeans.modules.web.jsf.wizards.JSFClientGenerator.generateJSFPages(JSFClientGenerator.java:372)
        at org.netbeans.modules.web.jsf.wizards.PersistenceClientIterator.generateJsfControllers(PersistenceClientIterator.java:357)
        at org.netbeans.modules.web.jsf.wizards.PersistenceClientIterator.access$200(PersistenceClientIterator.java:115)
        at org.netbeans.modules.web.jsf.wizards.PersistenceClientIterator$1$1.run(PersistenceClientIterator.java:206)
        at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:122)
Comment 1 Masaki Katakai 2009-10-09 05:59:53 UTC
Created attachment 89158 [details]
stacktrace
Comment 2 Alexey Butenko 2009-10-09 11:07:27 UTC
http://hg.netbeans.org/web-main/rev/484c51f311e0