0 Replies Latest reply on May 16, 2006 5:35 AM by Jordi Mulet Albiach

    java.lang.System.arraycopy

    Jordi Mulet Albiach Newbie

      I tried to execute demo client for access to a WebService on JBOSS 4.0.4 and an error arise
      ant -f jboss-build.xml run-ws

      Classpath seems to no include other references of old versions of xerces parser:
      Buildfile: jboss-build.xml

      run-ws:
      [java] Exception in thread "main" java.lang.NullPointerException
      [java] at java.lang.System.arraycopy(Native Method)
      [java] at org.apache.xerces.impl.xs.XSModelImpl.getAnnotations(Unknown Source)
      [java] at org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.copyXSModel(WSSchemaUtils.java:711)
      [java] at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:206)
      [java] at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227)
      [java] at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
      [java] at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
      [java] at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:253)
      [java] at org.jboss.ws.metadata.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:73)
      [java] at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:89)
      [java] at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
      [java] at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
      [java] at com.jboss.ebank.WSClient.main(WSClient.java:23)