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 - NullPointerException at org.netbeans.modules.web.wizards.ServletData.addServlet
Summary: NullPointerException at org.netbeans.modules.web.wizards.ServletData.addServlet
Status: RESOLVED INCOMPLETE
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 17:03 UTC by Exceptions Reporter
Modified: 2015-07-03 11:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215272


Attachments
stacktrace (1.22 KB, text/plain)
2015-02-08 17:03 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.