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 171109 - NullPointerException at org.netbeans.modules.web.wizards.ServletData.addServlet
Summary: NullPointerException at org.netbeans.modules.web.wizards.ServletData.addServlet
Status: RESOLVED DUPLICATE of bug 172222
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 22:50 UTC by Jeffrey Rubinoff
Modified: 2010-01-12 02:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157256


Attachments
stacktrace (1.43 KB, text/plain)
2009-08-28 22:50 UTC, Jeffrey Rubinoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Rubinoff 2009-08-28 22:50:30 UTC
Build: NetBeans IDE Dev (Build 200908150201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments:
jeff_rubinoff: trying to create a servlet in a web project



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.web.wizards.ServletData.addServlet(ServletData.java:470)
        at org.netbeans.modules.web.wizards.ServletData.createDDEntries(ServletData.java:436)
        at org.netbeans.modules.web.wizards.ServletIterator.instantiate(ServletIterator.java:260)
        at org.netbeans.modules.ide.ergonomics.newproject.FeatureOnDemanWizardIterator.instantiate(FeatureOnDemanWizardIterator.java:187)
        at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1016)
        at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588)
Comment 1 Jeffrey Rubinoff 2009-08-28 22:50:34 UTC
Created attachment 86807 [details]
stacktrace
Comment 2 Petr Jiricka 2009-09-16 16:55:56 UTC
Hi Denis, did you fix for issue 172222 also fix this, or is this separate? Thanks.
Comment 3 Denis Anisimov 2009-09-16 16:59:35 UTC
Yes, it seems the reason is the same as for http://www.netbeans.org/issues/show_bug.cgi?id=172222.
Closing as duplicate.

*** This issue has been marked as a duplicate of 172222 ***