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 218342 - NullPointerException at org.netbeans.modules.websvc.rest.wizard.PatternResourcesSetupPanel$PatternPanel.read
Summary: NullPointerException at org.netbeans.modules.websvc.rest.wizard.PatternResour...
Status: VERIFIED DUPLICATE of bug 217775
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 07:44 UTC by Jiri Skrivanek
Modified: 2012-09-17 07:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192424


Attachments
stacktrace (6.16 KB, text/plain)
2012-09-14 07:44 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2012-09-14 07:44:49 UTC
Build: NetBeans IDE Dev (Build 201209140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
jskrivanek: My steps:
- create maven web project with GlassFish
- open new file wizard
- select Web Services|REST from DB
- select table and click Cancel
- open new file wizard
- select Web Services|REST from Patterns
- click Next
- click Next




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.websvc.rest.wizard.PatternResourcesSetupPanel$PatternPanel.read(PatternResourcesSetupPanel.java:194)
   at org.netbeans.modules.websvc.rest.wizard.AbstractPanel.readSettings(AbstractPanel.java:89)
   at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:849)
   at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:799)
   at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:746)
   at org.netbeans.modules.project.ui.NewFileWizard.updateState(NewFileWizard.java:124)
Comment 1 Jiri Skrivanek 2012-09-14 07:44:52 UTC
Created attachment 124349 [details]
stacktrace
Comment 2 Denis Anisimov 2012-09-14 10:02:43 UTC
The source if the issue is the same as for issue #217775: 
project.getLookup().lookup(WebRestSupport.class) returns null

*** This bug has been marked as a duplicate of bug 217775 ***