axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isuru Eranga Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4487) JAXB code generation fails with multiple schemas in WSDL
Date Wed, 22 Dec 2010 06:32:02 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Isuru Eranga Suriarachchi resolved AXIS2-4487.
----------------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

This issue doesn't exist in current Axis2 trunk. Code generation works for both the WSDLs
attached in this JIRA.

Thanks,
~Isuru

> JAXB code generation fails with multiple schemas in WSDL
> --------------------------------------------------------
>
>                 Key: AXIS2-4487
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4487
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5
>            Reporter: Dennis Sosnoski
>            Assignee: Isuru Eranga Suriarachchi
>             Fix For: 1.6
>
>         Attachments: library.wsdl, library.wsdl, types.xsd
>
>
> JAXB code generation fails with NPE when multiple schemas are present in the WSDL (with
one imported into another):
>      [java] Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException                  
                                                                                         
                          
>      [java]     at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
                                        
>      [java]     at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>      [java]     at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>      [java] Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>      [java]     at org.apache.axis2.wsdl.codegen.extension.JAXBRIExtension.engage(JAXBRIExtension.java:112)
>      [java]     at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
>      [java]     ... 2 more
>      [java] Caused by: java.lang.reflect.InvocationTargetException
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:597)
>      [java]     at org.apache.axis2.wsdl.codegen.extension.JAXBRIExtension.engage(JAXBRIExtension.java:101)
>      [java]     ... 3 more
>      [java] Caused by: java.lang.RuntimeException: java.lang.NullPointerException
>      [java]     at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:317)
>      [java]     ... 8 more
>      [java] Caused by: java.lang.NullPointerException
>      [java]     at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:246)
>      [java]     ... 8 more

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message