dev@jax-ws.java.net

NPE in server.Root

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Fri, 24 Mar 2006 10:56:39 -0800

If the service attribute in sun-jaxws.xml does not specify a QName that
exists in the WSDL, then JAX-WS rearch branch throws a NPE. Here is the
stack trace:

SEVERE: WSSERVLET11: failed to parse runtime descriptor:
java.lang.NullPointerException
java.lang.NullPointerException
         at com.sun.xml.ws.server.Root.createSEIModel(Root.java:256)
         at com.sun.xml.ws.server.Root.createSEIEndpoint(Root.java:145)
         at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:222)
         at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:129)
         at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.ja
va:90)
         at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)

-Arun

-- 
got Web Services ?
Download Java Web Services Developer Pack from
http://java.sun.com/webservices