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] Resolved: (CXF-2107) wsdlLocation paramater and xmlbeans databinding throwing NPE
Date Mon, 22 Jun 2009 17:38:07 GMT

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

Daniel Kulp resolved CXF-2107.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.3
                   2.1.6
         Assignee: Daniel Kulp  (was: Willem Jiang)

> 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: Daniel Kulp
>             Fix For: 2.1.6, 2.2.3
>
>
> 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