Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5793

wsdl2java NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 2.6.15, 2.7.12, 3.0.1
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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
      

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              sixcorners Stephen Buergler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: