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 - NullPointerException at org.netbeans.modules.j2ee.dd.impl.web.metadata.MergeEngines$ServletsEngine.findUrlMappingsForServlet
Summary: NullPointerException at org.netbeans.modules.j2ee.dd.impl.web.metadata.MergeE...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-06 15:46 UTC by Vijay_Vishwa_786
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 172828


Attachments
stacktrace (5.38 KB, text/plain)
2014-03-06 15:46 UTC, Vijay_Vishwa_786
Details

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