[jboss-user] [JBossWS] - NullPointerException using wstools

mavalla do-not-reply at jboss.com
Fri Sep 1 10:09:15 EDT 2006


Hello,
I am using wstools to generate the client classes from a wsdl file that imports several schemas.

I am using version jboss-4.0.4GA with jbossws-1.0.3GA in openSuse 10.1 and jdk1.5.0_06-b05.

Here is the output of the exception:

  | Exception in thread "main" java.lang.NullPointerException
  |         at org.jboss.ws.tools.XSDTypeToJava.getVARList(XSDTypeToJava.java:214)
  |         at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:154)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARforXSElementDeclaration(XSDTypeToJava.java:628)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARsForElements(XSDTypeToJava.java:519)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARsforXSParticle(XSDTypeToJava.java:446)
  |         at org.jboss.ws.tools.XSDTypeToJava.getVARList(XSDTypeToJava.java:249)
  |         at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:154)
  |         at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:149)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARforXSElementDeclaration(XSDTypeToJava.java:587)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARsForElements(XSDTypeToJava.java:519)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARsforXSParticle(XSDTypeToJava.java:446)
  |         at org.jboss.ws.tools.XSDTypeToJava.getVARList(XSDTypeToJava.java:249)
  |         at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:154)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARforXSElementDeclaration(XSDTypeToJava.java:628)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARsForElements(XSDTypeToJava.java:519)
  |         at org.jboss.ws.tools.XSDTypeToJava.createVARsforXSParticle(XSDTypeToJava.java:446)
  |         at org.jboss.ws.tools.XSDTypeToJava.getVARList(XSDTypeToJava.java:249)
  |         at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:154)
  |         at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:114)
  |         at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:701)
  |         at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:694)
  |         at org.jboss.ws.tools.WSDLToJava.getReturnType(WSDLToJava.java:575)
  |         at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:372)
  |         at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:512)
  |         at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:534)
  |         at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:188)
  |         at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:329)
  |         at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
  |         at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
  |         at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
  | 

I can provide you the files if you desire.

Thank you very much for your help.
                   Manuel Valladares

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968933#3968933

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968933



More information about the jboss-user mailing list