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 258104

Summary: NullPointerException at org.netbeans.modules.web.wizards.ServletData.addServlet
Product: javaee Reporter: jn0101
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222664
Attachments: stacktrace

Description jn0101 2016-02-22 21:56:36 UTC
This bug was originally marked as duplicate of bug 172222, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b53, Java(TM) SE Runtime Environment, 1.8.0-ea-b111
OS: Linux

User Comments:
jn0101: Imported an old project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.wizards.ServletData.addServlet(ServletData.java:501)
   at org.netbeans.modules.web.wizards.ServletData.createDDEntries(ServletData.java:467)
   at org.netbeans.modules.web.wizards.ServletIterator.instantiate(ServletIterator.java:284)
   at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1053)
   at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
   at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439)
Comment 1 jn0101 2016-02-22 21:56:38 UTC
Created attachment 158603 [details]
stacktrace