2 Replies Latest reply on Apr 29, 2006 1:32 PM by Thomas Diesler

    NullPointerException in wstools

    Brian Call Newbie

      Hey Guys,

      I'm running the new client-side artifact generator in wstools and I'm seeing this NPE in thrown from the wstools ant task:

      [wstools] java.lang.NullPointerException
      [wstools] at java.lang.System.arraycopy(Native Method)
      [wstools] at org.apache.xerces.impl.xs.XSModelImpl.getAnnotations(UnknownSource)
      [wstools] at rg.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.copyXSModel(WSSchemaUtils.java:737)
      [wstools] at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:206)
      [wstools] at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227)
      [wstools] at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
      [wstools] at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
      [wstools] at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:110)
      [wstools] at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:322)
      [wstools] at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
      [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
      [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
      [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [wstools] at org.apache.tools.ant.Task.perform(Task.java:364)

      Any thougts?

      Thanks,
      Brian