[jboss-user] [JBoss Web Services] - NullPointerException at

Philipp Leusmann do-not-reply at jboss.com
Wed Jul 21 06:52:33 EDT 2010


Philipp Leusmann [http://community.jboss.org/people/p.leusmann] created the discussion

"NullPointerException at"

To view the discussion, visit: http://community.jboss.org/message/553657#553657

--------------------------------------------------------------
Hi,

I ama currently trying to deploy a WebApplication using EJB3 Jax-WS in JBoss.
The Application written using the Eclipse RAP Framework and thus using OSGi (Equinox).

But when the WebServices are setup, I always get the following NullPointerException:


java.lang.NullPointerException
    at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:178)
    at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:451)
    at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:180)
    at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:129)
    at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:293)
    at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:84)
    at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:138)
    at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:63)
    at javax.xml.ws.Service.<init>(Service.java:79)
[...]


I did alread look at that piece of code, and found it is trying to resolve a URL like
file:/var/folders/0W/0WCNl0ONFvm5RkTGZc5t5E+++TI/-Tmp-/JBossWS_de.some.package.name9174384271488964615.xsd

The file actually exists.

Can anybody tell me, what is causing the NPE? I am using JBoss5.1.GA.

Regards,
 Philipp

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/553657#553657]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100721/e745f367/attachment.html 


More information about the jboss-user mailing list