axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edward fan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-510) WSDL2Java NullPointException
Date Fri, 24 Mar 2006 01:15:19 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-510?page=all ]

edward fan updated AXIS2-510:
-----------------------------

    Attachment: wsdl.zip

> WSDL2Java  NullPointException
> -----------------------------
>
>          Key: AXIS2-510
>          URL: http://issues.apache.org/jira/browse/AXIS2-510
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: Tools
>     Versions: 0.94
>  Environment: Linux plutonium 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686
i686 i386 GNU/Linux;
> java version "1.4.1_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
> Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
>     Reporter: edward fan
>     Priority: Blocker
>  Attachments: wsdl.zip
>
> Same wsdl file works fine with Axis1.2.
> /*****************************************************************************
> $ WSDL2Java  -uri  XpressMarket.wsdl
> the classpath :/opt/axis2/lib/annogen-0.1.0.jar:/opt/axis2/lib/axis2-adb-0.94.jar:/opt/axis2/lib/axis2-codegen-0.94.jar:/opt/axis2/lib/axis2-core-0.94.jar:/opt/axis2/lib/axis2-doom-0.94.jar:/opt/axis2/lib/axis-wsdl4j-1.2.jar:/opt/axis2/lib/backport-util-concurrent-2.0_01_pd.jar:/opt/axis2/lib/commons-codec-1.3.jar:/opt/axis2/lib/commons-httpclient-3.0.jar:/opt/axis2/lib/commons-logging-1.0.4.jar:/opt/axis2/lib/geronimo-spec-activation-1.0.2-rc4.jar:/opt/axis2/lib/geronimo-spec-javamail-1.3.1-rc5.jar:/opt/axis2/lib/geronimo-spec-jms-1.1-rc4.jar:/opt/axis2/lib/jaxen-1.1-beta-7.jar:/opt/axis2/lib/log4j-1.2.12.jar:/opt/axis2/lib/maven-itest-plugin-1.0.jar:/opt/axis2/lib/servletapi-2.3.jar:/opt/axis2/lib/stax-api-1.0.jar:/opt/axis2/lib/ws-policy-SNAPSHOT.jar:/opt/axis2/lib/wstx-asl-2.8.1.jar:/opt/axis2/lib/xbean-2.1.0.jar:/opt/axis2/lib/xercesImpl-2.7.1.jar:/opt/axis2/lib/xml-apis-1.3.02.jar:/opt/axis2/lib/XmlSchema-SNAPSHOT.jar
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException:
org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:118)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:31)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:152)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:80)
>         ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.writer.JavaBeanWriter.write(JavaBeanWriter.java:167)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:443)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:350)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:289)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:267)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:141)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:104)
>         ... 3 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.writer.JavaBeanWriter.getBeanElement(JavaBeanWriter.java:357)
>         at org.apache.axis2.schema.writer.JavaBeanWriter.process(JavaBeanWriter.java:270)
>         at org.apache.axis2.schema.writer.JavaBeanWriter.write(JavaBeanWriter.java:162)
>         ... 10 more
> $
> *****************************************************************************/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message