Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1543

Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 1.6.0
    • None
    • wsdl2c tool
    • None
    • linux, using java AXIS2 1.5.4

    Description

      $ /usr/lib/axis2c/bin/tools/wsdl2c/WSDL2C.sh -d adb -f -o ./ -uri http://integrationcvv.peopleclick.com/PcCandidate/wsdl/Peopleclick_ImportCandidate_iq1.wsdl
      the classpath :/usr/lib/axis2-1.5.4/lib/XmlSchema-1.4.3.jar:/usr/lib/axis2-1.5.4/lib/activation-1.1.jar:/usr/lib/axis2-1.5.4/lib/antlr-2.7.7.jar:/usr/lib/axis2-1.5.4/lib/axiom-api-1.2.10.jar:/usr/lib/axis2-1.5.4/lib/axiom-dom-1.2.10.jar:/usr/lib/axis2-1.5.4/lib/axiom-impl-1.2.10.jar:/usr/lib/axis2-1.5.4/lib/axis2-adb-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-adb-codegen-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-ant-plugin-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-clustering-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-codegen-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-corba-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-fastinfoset-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-java2wsdl-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-jaxbri-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-jaxws-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-jibx-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-json-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-kernel-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-metadata-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-mtompolicy-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-saaj-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-soapmonitor-servlet-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-spring-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-transport-http-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-transport-local-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/axis2-xmlbeans-1.5.4.jar:/usr/lib/axis2-1.5.4/lib/bcel-5.1.jar:/usr/lib/axis2-1.5.4/lib/commons-codec-1.3.jar:/usr/lib/axis2-1.5.4/lib/commons-fileupload-1.2.jar:/usr/lib/axis2-1.5.4/lib/commons-httpclient-3.1.jar:/usr/lib/axis2-1.5.4/lib/commons-io-1.4.jar:/usr/lib/axis2-1.5.4/lib/commons-logging-1.1.1.jar:/usr/lib/axis2-1.5.4/lib/geronimo-annotation_1.0_spec-1.1.jar:/usr/lib/axis2-1.5.4/lib/geronimo-jaxws_2.1_spec-1.0.jar:/usr/lib/axis2-1.5.4/lib/geronimo-jta_1.1_spec-1.1.jar:/usr/lib/axis2-1.5.4/lib/geronimo-saaj_1.3_spec-1.0.1.jar:/usr/lib/axis2-1.5.4/lib/geronimo-stax-api_1.0_spec-1.0.1.jar:/usr/lib/axis2-1.5.4/lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar:/usr/lib/axis2-1.5.4/lib/httpcore-4.0.jar:/usr/lib/axis2-1.5.4/lib/jalopy-1.5rc3.jar:/usr/lib/axis2-1.5.4/lib/jaxb-api-2.1.jar:/usr/lib/axis2-1.5.4/lib/jaxb-impl-2.1.7.jar:/usr/lib/axis2-1.5.4/lib/jaxb-xjc-2.1.7.jar:/usr/lib/axis2-1.5.4/lib/jaxen-1.1.1.jar:/usr/lib/axis2-1.5.4/lib/jettison-1.0-RC2.jar:/usr/lib/axis2-1.5.4/lib/jibx-bind-1.2.1.jar:/usr/lib/axis2-1.5.4/lib/jibx-run-1.2.1.jar:/usr/lib/axis2-1.5.4/lib/juli-6.0.16.jar:/usr/lib/axis2-1.5.4/lib/log4j-1.2.15.jar:/usr/lib/axis2-1.5.4/lib/mail-1.4.jar:/usr/lib/axis2-1.5.4/lib/mex-1.5.4-impl.jar:/usr/lib/axis2-1.5.4/lib/neethi-2.0.4.jar:/usr/lib/axis2-1.5.4/lib/regexp-1.2.jar:/usr/lib/axis2-1.5.4/lib/tribes-6.0.16.jar:/usr/lib/axis2-1.5.4/lib/woden-api-1.0M8.jar:/usr/lib/axis2-1.5.4/lib/woden-impl-dom-1.0M8.jar:/usr/lib/axis2-1.5.4/lib/wsdl4j-1.6.2.jar:/usr/lib/axis2-1.5.4/lib/wstx-asl-3.2.9.jar:/usr/lib/axis2-1.5.4/lib/xalan-2.7.0.jar:/usr/lib/axis2-1.5.4/lib/xercesImpl-2.8.1.jar:/usr/lib/axis2-1.5.4/lib/xml-resolver-1.2.jar:/usr/lib/axis2-1.5.4/lib/xmlbeans-2.3.0.jar
      Retrieving document at 'http://integrationcvv.peopleclick.com/PcCandidate/wsdl/Peopleclick_ImportCandidate_iq1.wsdl'.
      Retrieving schema at './Peopleclick_ImportCandidate_Wrapper.xsd', relative to 'http://integrationcvv.peopleclick.com/PcCandidate/wsdl/Peopleclick_ImportCandidate_iq1.wsdl'.
      Retrieving schema at './Peopleclick_ImportCandidate_Candidate.xsd', relative to 'http://integrationcvv.peopleclick.com/PcCandidate/wsdl/Peopleclick_ImportCandidate_Wrapper.xsd'.
      Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
      at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
      at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31)
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
      ...2 more
      Caused by: java.lang.reflect.InvocationTargetException
      at java.lang.reflect.Method.invoke(libgcj.so.10)
      at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
      ...3 more
      Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
      at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:289)
      at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
      at java.lang.reflect.Method.invoke(libgcj.so.10)
      ...4 more
      Caused by: java.lang.NullPointerException
      at org.apache.axis2.schema.SchemaCompiler.isComponetExists(SchemaCompiler.java:2723)
      at org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(SchemaCompiler.java:2670)
      at org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(SchemaCompiler.java:2704)
      at org.apache.axis2.schema.SchemaCompiler.getParentSchema(SchemaCompiler.java:2644)
      at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:925)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:552)
      at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1991)
      at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1874)
      at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1081)
      at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:980)
      at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:934)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:563)
      at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
      at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:352)
      at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
      ...6 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            jrice Joseph Rice
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: