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 170095 - 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: issues@javaee
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-09 13:31 UTC by chainy
Modified: 2010-01-12 02:12 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 155316


Attachments
stacktrace (1.29 KB, text/plain)
2009-08-09 13:31 UTC, chainy
Details
stacktrace (1.29 KB, text/plain)
2009-09-10 12:40 UTC, pgebauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chainy 2009-08-09 13:31:18 UTC
Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows 7, 6.1, x86

User Comments:
chainy: Creating a new Servlet



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.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1018)
        at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588)
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409)
Comment 1 chainy 2009-08-09 13:31:23 UTC
Created attachment 86007 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-08-18 05:46:53 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=155316
Comment 3 pgebauer 2009-09-10 12:40:24 UTC
Build: NetBeans IDE Dev (Build 200909081533)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-92, Java(TM) SE Runtime Environment, 1.6.0_15-b03-226
OS: Mac OS X, 10.5.8, x86_64

User Comments: 
I was trying to finish step 5 from the section "Creating a front controller using a servlet" at the page http://www.netbeans.org/kb/docs/web/tutorial-webapps.html

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.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1018)
        at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588)
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409)
Comment 4 pgebauer 2009-09-10 12:40:27 UTC
Created attachment 87430 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-09-10 12:40:32 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=155316
Comment 6 Petr Jiricka 2009-09-16 17:28:08 UTC
Duplicate of issue 172222, it seems. Denis, please confirm.

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