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 186864 - NullPointerException at org.netbeans.modules.maven.jaxws.WSUtils.addServlet
Summary: NullPointerException at org.netbeans.modules.maven.jaxws.WSUtils.addServlet
Status: RESOLVED DUPLICATE of bug 196984
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 07:26 UTC by Exceptions Reporter
Modified: 2011-09-20 21:37 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150651


Attachments
stacktrace (1.83 KB, text/plain)
2010-05-28 07:26 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-05-28 07:26:06 UTC
This issue was reported manually by mmirilovic.
It already has 26 duplicates 


Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-10M3065
OS: Mac OS X

User Comments:
GUEST: creating a new web service

GUEST: waiting for the scanning to stop

GUEST: opening up ide and it was scanning a maven project

GUEST: nothing the app had just come up

GUEST: creating a new webservice skeleton : a dialog was shown asking to add servlets to web.xml. then the exception occured.

GUEST: just starting up Netbeans

GUEST: Editing a java source file

GUEST: I imported a maven parent project which includes sub-projects.
Then I clicked "Open Required Projects".
The projects where opened and than this message appeared

GUEST: Opening a maven project (with 1 servlet)

GUEST: just started up netbeans

GUEST: Netbeans was scanning project

GUEST: sending an update




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.jaxws.WSUtils.addServlet(WSUtils.java:737)
   at org.netbeans.modules.maven.jaxws.WSUtils.addServiceToDD(WSUtils.java:695)
   at org.netbeans.modules.maven.jaxws.MavenJAXWSSupportImpl.addService(MavenJAXWSSupportImpl.java:102)
   at org.netbeans.modules.websvc.jaxws.light.api.JAXWSLightSupport.addService(JAXWSLightSupport.java:123)
   at org.netbeans.modules.maven.jaxws.MavenJaxWsSupportProvider$WebservicesChangeListener.updateJaxWs(MavenJaxWsSupportProvider.java:283)
   at org.netbeans.modules.maven.jaxws.MavenJaxWsSupportProvider$WebservicesChangeListener.access$400(MavenJaxWsSupportProvider.java:181)
Comment 1 Exceptions Reporter 2010-05-28 07:26:09 UTC
Created attachment 99584 [details]
stacktrace
Comment 2 David Konecny 2011-09-20 21:37:09 UTC
Martin, some issues can be closed as duplicates. This one is the case.

maven.jaxws is Web Services support for Maven and I used to pass such issues to Denis (ads@n.o) but feel free to fix them if you want.

*** This bug has been marked as a duplicate of bug 196984 ***