axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Stevenson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1011) WSDL2Java addMissingQNames Nullpointer (RE: axis2-906)
Date Mon, 14 Aug 2006 14:12:16 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1011?page=all ]

Bob Stevenson updated AXIS2-1011:
---------------------------------

    Attachment: validate.wsdl

Here is the wsdl that causes the WSDL2Java to fail with a NullPointerException.

> WSDL2Java addMissingQNames Nullpointer (RE: axis2-906)
> ------------------------------------------------------
>
>                 Key: AXIS2-1011
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1011
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>         Environment: all
>            Reporter: Bob Stevenson
>         Attachments: validate.wsdl
>
>
> Using the latest code from SVN; I'm getting the following while trying to generate java
from a WSDL.
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:734)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:586)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:436)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1289)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1252)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:807)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:7
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:736)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:475)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:446)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:308)
>      [java]     at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:230)
>      [java]     at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:77)
>      [java]     ... 8 more
>      [java] Caused by: java.lang.NullPointerException
>      [java]     at org.apache.axis2.schema.writer.JavaBeanWriter.addMissingQNames(JavaBeanWriter.java:728)
>      [java]     at org.apache.axis2.schema.writer.JavaBeanWriter.addPropertyEntries(JavaBeanWriter.java:555)
>      [java]     at org.apache.axis2.schema.writer.JavaBeanWriter.populateInfo(JavaBeanWriter.java:519)
>      [java]     at org.apache.axis2.schema.writer.JavaBeanWriter.getBeanElement(JavaBeanWriter.java:497)
>      [java]     at org.apache.axis2.schema.writer.JavaBeanWriter.process(JavaBeanWriter.java:384)
>      [java]     at org.apache.axis2.schema.writer.JavaBeanWriter.write(JavaBeanWriter.java:213)
>      [java]     ... 44 more
>      [java] Exception in thread "main"
>      [java] Java Result: 1

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message