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 91200 - NPE when click on JSF pages from entity class option
Summary: NPE when click on JSF pages from entity class option
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 13:25 UTC by Jaroslav Pospisil
Modified: 2007-01-17 09:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (32.63 KB, text/plain)
2006-12-18 13:26 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2006-12-18 13:25:56 UTC
Build 200612171900,JDK1.6

1) Start IDE with new userdir and add glassfish in Runtime tab
2) Create New Web module 
3) Right-click on project node and select New > JSF Pages From Entity Class
ERROR: NPE will appear
attaching messages.log
Comment 1 Jaroslav Pospisil 2006-12-18 13:26:37 UTC
Created attachment 36742 [details]
messages.log
Comment 2 Max Sauer 2006-12-18 15:16:52 UTC
I can reproduce this. Part of stack trace:

java.lang.NullPointerException
	at
org.netbeans.modules.web.jsf.wizards.PersistenceClientIterator.current(PersistenceClientIterator.java:140)
	at
org.openide.loaders.TemplateWizardIterImpl.current(TemplateWizardIterImpl.java:118)
	at
org.openide.loaders.TemplateWizardIteratorWrapper.current(TemplateWizardIteratorWrapper.java:67)
	at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:656)

---
NetBeans IDE Dev (Build 061218)
1.6.0; Java HotSpot(TM) 64-Bit Server VM 1.6.0-b105
SunOS version 5.10 running on sparcv9
en (nb); ISO646-US
Comment 3 Petr Pisl 2007-01-04 15:50:35 UTC
The functionality is not here due to the Retouche. It must be rewritten. So I
remove the action as well. The functionality will be added back later.
Comment 4 Jaroslav Pospisil 2007-01-17 09:28:57 UTC
Verifiing for time being.I'll reconsider issue status again after JSF from EP
will be enabled again.