You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jason Wilcox (JIRA)" <ax...@ws.apache.org> on 2007/12/18 04:43:43 UTC

[jira] Commented: (AXIS-2057) NPE using WSDL2Java

    [ https://issues.apache.org/jira/browse/AXIS-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552613 ] 

Jason Wilcox commented on AXIS-2057:
------------------------------------

This is the same bug as AXIS-2402

> NPE using WSDL2Java
> -------------------
>
>                 Key: AXIS-2057
>                 URL: https://issues.apache.org/jira/browse/AXIS-2057
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: current (nightly)
>         Environment: Windows XP and Windows 2000
> java full version "1.5.0-b64"
>            Reporter: Richard Pellerin
>         Attachments: AcknowledgePartsOrder.wsdl, OAGIS.zip, STAR.zip
>
>
> Hi try to generate the Java classes associated with my WSDL.
> The WSDL is valid (but complex).  It's using extension, restriction, ...
> The WSDL comes from the STAR organisation (for the automotive industry - www.starstandards.org/).
> (see attachments).
> Other resources from OAGIS are also references. (see attachment)
> The stack trace is:
> java.lang.NullPointerException
>         at org.apache.axis.wsdl.toJava.JavaBeanWriter.preprocess(JavaBeanWriter.
> java:308)
>         at org.apache.axis.wsdl.toJava.JavaBeanWriter.getImplementsText(JavaBean
> Writer.java:500)
>         at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileHeader(JavaBeanWr
> iter.java:179)
>         at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:129)
>         at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.ja
> va:1270)
>         at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.ja
> va:113)
>         at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Jav
> aGeneratorFactory.java:421)
>         at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
>         at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
>         at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
>         at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
>         at java.lang.Thread.run(Unknown Source)
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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