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] [Updated] (CXF-5793) wsdl2java NPE
Date Mon, 09 Jun 2014 18:51:03 GMT

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

Daniel Kulp updated CXF-5793:
-----------------------------

    Description: 
:(
{code}
fourcorners:msdn sixcorners$ ~/Downloads/apache-cxf-3.0.0/bin/wsdl2java -d /Users/sixcorners/workspace2/msdn/target/generated-sources/cxf
-verbose http://services.msdn.microsoft.com/ContentServices/ContentService.asmx?wsdl
Loading FrontEnd jaxws ...
Loading DataBinding jaxb ...
wsdl2java -d /Users/sixcorners/workspace2/msdn/target/generated-sources/cxf -verbose http://services.msdn.microsoft.com/ContentServices/ContentService.asmx?wsdl
wsdl2java - Apache CXF 3.0.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:420)
	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 java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
	at org.apache.cxf.service.model.ServiceInfo.getMessage(ServiceInfo.java:136)
	at org.apache.cxf.binding.soap.SoapBindingFactory.addMessageFromBinding(SoapBindingFactory.java:498)
	at org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory.copyExtensors(AbstractWSDLBindingFactory.java:120)
	at org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory.initializeBindingInfo(AbstractWSDLBindingFactory.java:99)
	at org.apache.cxf.binding.soap.SoapBindingFactory.createBindingInfo(SoapBindingFactory.java:670)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildBinding(WSDLServiceBuilder.java:492)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:360)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:202)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:178)
	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:229)
	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:164)
	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:412)
	... 4 more
{code}

  was:
:(
{quote}
fourcorners:msdn sixcorners$ ~/Downloads/apache-cxf-3.0.0/bin/wsdl2java -d /Users/sixcorners/workspace2/msdn/target/generated-sources/cxf
-verbose http://services.msdn.microsoft.com/ContentServices/ContentService.asmx?wsdl
Loading FrontEnd jaxws ...
Loading DataBinding jaxb ...
wsdl2java -d /Users/sixcorners/workspace2/msdn/target/generated-sources/cxf -verbose http://services.msdn.microsoft.com/ContentServices/ContentService.asmx?wsdl
wsdl2java - Apache CXF 3.0.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:420)
	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 java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
	at org.apache.cxf.service.model.ServiceInfo.getMessage(ServiceInfo.java:136)
	at org.apache.cxf.binding.soap.SoapBindingFactory.addMessageFromBinding(SoapBindingFactory.java:498)
	at org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory.copyExtensors(AbstractWSDLBindingFactory.java:120)
	at org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory.initializeBindingInfo(AbstractWSDLBindingFactory.java:99)
	at org.apache.cxf.binding.soap.SoapBindingFactory.createBindingInfo(SoapBindingFactory.java:670)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildBinding(WSDLServiceBuilder.java:492)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:360)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:202)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:178)
	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:229)
	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:164)
	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:412)
	... 4 more
{quote}


> wsdl2java NPE
> -------------
>
>                 Key: CXF-5793
>                 URL: https://issues.apache.org/jira/browse/CXF-5793
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Stephen Buergler
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.6.15, 2.7.12, 3.0.1
>
>
> :(
> {code}
> fourcorners:msdn sixcorners$ ~/Downloads/apache-cxf-3.0.0/bin/wsdl2java -d /Users/sixcorners/workspace2/msdn/target/generated-sources/cxf
-verbose http://services.msdn.microsoft.com/ContentServices/ContentService.asmx?wsdl
> Loading FrontEnd jaxws ...
> Loading DataBinding jaxb ...
> wsdl2java -d /Users/sixcorners/workspace2/msdn/target/generated-sources/cxf -verbose
http://services.msdn.microsoft.com/ContentServices/ContentService.asmx?wsdl
> wsdl2java - Apache CXF 3.0.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:420)
> 	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 java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
> 	at org.apache.cxf.service.model.ServiceInfo.getMessage(ServiceInfo.java:136)
> 	at org.apache.cxf.binding.soap.SoapBindingFactory.addMessageFromBinding(SoapBindingFactory.java:498)
> 	at org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory.copyExtensors(AbstractWSDLBindingFactory.java:120)
> 	at org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory.initializeBindingInfo(AbstractWSDLBindingFactory.java:99)
> 	at org.apache.cxf.binding.soap.SoapBindingFactory.createBindingInfo(SoapBindingFactory.java:670)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildBinding(WSDLServiceBuilder.java:492)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:360)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:202)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:178)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:229)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:164)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:412)
> 	... 4 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message