cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2400) NullPointerException with wsdl2js
Date Fri, 21 Aug 2009 16:46:14 GMT

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

Benson Margulies commented on CXF-2400:
---------------------------------------

I found this:

The default when no simple type definition is referenced or provided is the - simple ur-type
definition- , which imposes no constraints at all.


> NullPointerException with wsdl2js
> ---------------------------------
>
>                 Key: CXF-2400
>                 URL: https://issues.apache.org/jira/browse/CXF-2400
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.3
>            Reporter: Jim Redman
>            Assignee: Benson Margulies
>            Priority: Blocker
>
> http://www.advosol.us/xmldademo/xml_sim/OpcXmlDaServer.asmx?WSDL
> wsdl2java works fine, wsdl2js gives the following:
> WSDLToJS Error : java.lang.NullPointerException
> org.apache.cxf.tools.common.ToolException: java.lang.NullPointerException
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:272)
> 	at org.apache.cxf.tools.wsdlto.javascript.JavaScriptContainer.execute(JavaScriptContainer.java:150)
> 	at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
> 	at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:67)
> 	at org.apache.cxf.tools.wsdlto.javascript.WSDLToJavaScript.run(WSDLToJavaScript.java:60)
> 	at org.apache.cxf.tools.wsdlto.javascript.WSDLToJavaScript.main(WSDLToJavaScript.java:97)
> Caused by: java.lang.NullPointerException
> 	at org.apache.cxf.javascript.ParticleInfo.factorySetupType(ParticleInfo.java:208)
> 	at org.apache.cxf.javascript.ParticleInfo.factoryCommon(ParticleInfo.java:193)
> 	at org.apache.cxf.javascript.ParticleInfo.forLocalItem(ParticleInfo.java:157)
> 	at org.apache.cxf.javascript.types.SchemaJavascriptBuilder.complexTypeConstructorAndAccessors(SchemaJavascriptBuilder.java:196)
> 	at org.apache.cxf.javascript.types.SchemaJavascriptBuilder.generateCodeForSchema(SchemaJavascriptBuilder.java:101)
> 	at org.apache.cxf.tools.wsdlto.javascript.WSDLToJavaScriptProcessor.process(WSDLToJavaScriptProcessor.java:85)
> 	at org.apache.cxf.tools.wsdlto.javascript.JavaScriptContainer.execute(JavaScriptContainer.java:143)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:263)
> 	... 5 more

-- 
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