cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3997) java.lang.NullPointerException in org.apache.cxf.tools.wsdlto.WSDLToJava
Date Tue, 03 Jan 2012 21:36:39 GMT

    [ https://issues.apache.org/jira/browse/CXF-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179038#comment-13179038
] 

Daniel Kulp commented on CXF-3997:
----------------------------------

Also, can you check your jre/lib/endorsed directory for any jaxb-api type jars?   It might
be picking up an older version that might have issues.
                
> java.lang.NullPointerException in org.apache.cxf.tools.wsdlto.WSDLToJava
> ------------------------------------------------------------------------
>
>                 Key: CXF-3997
>                 URL: https://issues.apache.org/jira/browse/CXF-3997
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Vlad Karpov
>             Fix For: NeedMoreInfo
>
>
>     <target name="cxfWSDLToJava">
>         <java classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="true">
>             <!--<arg value="-all"/>-->
>             <arg value="-client"/>
>             <arg value="-server"/>
>             <arg value="-impl"/>
>             <arg value="-verbose"/>
>             <!--<arg value="-v"/>-->
>             <arg value="-d"/>
>             <arg value="src"/>
>             <arg value="${basedir}/EIMA/web/WEB-INF/classes/wsdl/SpoService.wsdl"/>
>             <classpath>
>                 <path refid="library.cxf.classpath"/>
>                 <path refid="library.jaxb2.classpath"/>
>                 <path location="${basedir}/EIMA/web"/>
>             </classpath>
>         </java>
>     </target>
> cxfWSDLToJava
> java
> Loading FrontEnd jaxws ...
> Loading DataBinding jaxb ...
> wsdl2java -client -server -impl -verbose -d src D:\Work\EIMA/EIMA/web/WEB-INF/classes/wsdl/SpoService.wsdl
> wsdl2java - Apache CXF 2.5.0
> WSDLToJava Error: java.lang.NullPointerException
> org.apache.cxf.tools.common.ToolException: java.lang.NullPointerException
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:294)
> 	at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184)
> Caused by: java.lang.NullPointerException
> 	at javax.xml.bind.DatatypeConverter.printDateTime(DatatypeConverter.java:534)
> 	at org.apache.cxf.tools.wsdlto.core.AbstractGenerator.setCommonAttributes(AbstractGenerator.java:108)
> 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.generators.ClientGenerator.generate(ClientGenerator.java:107)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:258)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:138)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:286)
> 	... 4 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message