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 242618

Summary: NullPointerException at org.netbeans.modules.j2ee.dd.impl.web.metadata.MergeEngines$ServletsEngine.findUrlMappingsForServlet
Product: javaee Reporter: Vijay_Vishwa_786
Component: DD EditorAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 172828
Attachments: stacktrace

Description Vijay_Vishwa_786 2014-03-06 15:46:05 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
GUEST: i dont what happened but suddenly this error was reported by the netbeans

Vijay_Vishwa_786: It gives deployment error when I try to exeute like following
---------------------------------------------------------------------------------------------------------------------------------
ant -f C:\\Users\\Brett\\Documents\\NetBeansProjects\\DoctorRecordsInTab -Dbrowser.context=C:\\Users\\Brett\\Documents\\NetBeansProjects\\DoctorRecordsInTab -DforceRedeploy=true -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true -Dnb.internal.action.name=redeploy run-deploy
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: C:\Users\Brett\Documents\NetBeansProjects\DoctorRecordsInTab\build\web\WEB-INF\classes
Created dir: C:\Users\Brett\Documents\NetBeansProjects\DoctorRecordsInTab\build\web\META-INF
Warning: MANIFEST.MF modified in the future.
Copying 1 file to C:\Users\Brett\Documents\NetBeansProjects\DoctorRecordsInTab\build\web\META-INF
Warning: TabWebDesign\Bill_update.jsp modified in the future.
Warning: TabWebDesign\Change_Password.jsp modified in the future.
Warning:




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.dd.impl.web.metadata.MergeEngines$ServletsEngine.findUrlMappingsForServlet(MergeEngines.java:172)
   at org.netbeans.modules.j2ee.dd.impl.web.metadata.MergeEngines$ServletsEngine.addServlets(MergeEngines.java:162)
   at org.netbeans.modules.j2ee.dd.impl.web.metadata.MergeEngines$ServletsEngine.addItems(MergeEngines.java:137)
   at org.netbeans.modules.j2ee.dd.impl.web.metadata.WebAppMetadataImpl.doMerging(WebAppMetadataImpl.java:185)
   at org.netbeans.modules.j2ee.dd.impl.web.metadata.WebAppMetadataImpl.getServlets(WebAppMetadataImpl.java:137)
   at org.netbeans.modules.web.project.WebAppMetadataHelper$1.run(WebAppMetadataHelper.java:78)
Comment 1 Vijay_Vishwa_786 2014-03-06 15:46:07 UTC
Created attachment 145806 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 08:54:47 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss