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 250299

Summary: NullPointerException at org.netbeans.modules.web.wizards.ServletData.addServlet
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: Web ProjectAssignee: Petr Hejl <phejl>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215272
Attachments: stacktrace

Description Exceptions Reporter 2015-02-08 17:03:40 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.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 7

User Comments:
GUEST: When I was trying to create servlet class in LoginCheck Package in my web application this exception occured




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:1046)
   at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
   at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439)
Comment 1 Exceptions Reporter 2015-02-08 17:03:42 UTC
Created attachment 151887 [details]
stacktrace
Comment 2 Petr Hejl 2015-07-03 11:56:01 UTC
Please can you provide a project or exact steps to reproduce. I have no idea how this could happen. There is only one report of this.