You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by "james.bond.007" <er...@gmail.com> on 2009/07/18 03:00:11 UTC

Web service NullPointerException

Hi,

Since a few days my JAX-WS web services are not working anymore. I get a
NullPointerException in axis 2 stack. The same web services are working
properly under another JAX-WS compliant application server (JBoss). Here is
the stack :

2009-07-16 01:47:46,770 DEBUG [ExceptionFactory]
stack:java.lang.NullPointerException
	at java.util.EnumMap.<init>(EnumMap.java:110)
	at
com.sun.xml.bind.v2.model.impl.RuntimeEnumLeafInfoImpl.<init>(RuntimeEnumLeafInfoImpl.java:47)
	at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createEnumLeafInfo(RuntimeModelBuilder.java:60)
	at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createEnumLeafInfo(RuntimeModelBuilder.java:41)
	at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:126)
	at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:55)

...

2009-07-16 01:47:46,785 DEBUG [ExceptionFactory] Create Exception:
javax.xml.ws.WebServiceException: java.lang.NullPointerException
	at
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:174)
	at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:69)
	at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:127)
	at
org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalRequest(DocLitWrappedMethodMarshaller.java:273)
	at
org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:72)
	at
org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:172)

...

Caused by: java.lang.NullPointerException
	at java.util.EnumMap.<init>(EnumMap.java:110)
	at
com.sun.xml.bind.v2.model.impl.RuntimeEnumLeafInfoImpl.<init>(RuntimeEnumLeafInfoImpl.java:47)
	at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createEnumLeafInfo(RuntimeModelBuilder.java:60)
	at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createEnumLeafInfo(RuntimeModelBuilder.java:41)
	at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:126)
	at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:55)
	at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:41)
	at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:196)


How can I find out where this NPE comes from ?

Best regards,
Eric


-- 
View this message in context: http://www.nabble.com/Web-service-NullPointerException-tp24543753s134p24543753.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.