cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2107) wsdlLocation paramater and xmlbeans databinding throwing NPE
Date Wed, 11 Mar 2009 20:22:50 GMT
wsdlLocation paramater and xmlbeans databinding throwing NPE
------------------------------------------------------------

                 Key: CXF-2107
                 URL: https://issues.apache.org/jira/browse/CXF-2107
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.1.4
            Reporter: Daniel Kulp
            Assignee: Willem Jiang



If you run "wsdl2java -databinding xmlbeans -wsdlLocation /META-INF/wsdl hello_world.wsdl"
in the samples, you get a NPE:

WSDLToJava Error: java.lang.NullPointerException

org.apache.cxf.tools.common.ToolException: java.lang.NullPointerException
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:246)
        at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83)
        at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:103)
        at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:173)
Caused by: java.lang.NullPointerException
        at org.apache.xmlbeans.impl.schema.StscState.addError(StscState.java:387)
        at org.apache.cxf.xmlbeans.tools.XMLBeansToolingDataBinding.loadTypeSystem(XMLBeansToolingDataBinding.java:258)
        at org.apache.cxf.xmlbeans.tools.XMLBeansToolingDataBinding.initialize(XMLBeansToolingDataBinding.java:103)
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.generateTypes(WSDLToJavaContainer.java:543)
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:194)
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:238)


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


Mime
View raw message