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] Assigned: (CXF-2119) wsdl2java failes with NPE with void Async Methods
Date Thu, 19 Mar 2009 04:49:52 GMT

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

Daniel Kulp reassigned CXF-2119:
--------------------------------

    Assignee: Daniel Kulp

> wsdl2java failes with NPE with void Async Methods
> -------------------------------------------------
>
>                 Key: CXF-2119
>                 URL: https://issues.apache.org/jira/browse/CXF-2119
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.4
>         Environment: JbossWS-CXF 3.1.0 (Uses CXF 2.1.4), Jboss 5.1.0, Fedora 10
>            Reporter: Bryan Kearney
>            Assignee: Daniel Kulp
>
> If a method which ends in Async returns void, and therefore an operation with a name
that ends in Async and no output, then running wsdl2java will result in an NPE.
>      [exec] wsdl2java -compile -d /home/bkearney/workspace/testclient/./src/main/java
-p com.redhat.vdc.client.generated -verbose -classdir /home/bkearney/workspace/testclient/./target/classes
http://localhost:8080/backends/wcf?wsdl
>      [exec] wsdl2java - Apache CXF 2.1.4
>      [exec] 
>      [exec] Failed to invoke WSDLToJava
>      [exec] org.apache.cxf.tools.common.ToolException: java.lang.NullPointerException
>      [exec] 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:240)
>      [exec] 	at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83)
>      [exec] 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:103)
>      [exec] 	at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:224)
>      [exec] 	at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:222)
>      [exec] 	at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:80)
>      [exec] Caused by: java.lang.NullPointerException
>      [exec] 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.OperationProcessor.isAsyncMethod(OperationProcessor.java:182)
>      [exec] 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.OperationProcessor.processMethod(OperationProcessor.java:76)
>      [exec] 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.OperationProcessor.process(OperationProcessor.java:63)
>      [exec] 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.PortTypeProcessor.process(PortTypeProcessor.java:143)
>      [exec] 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.WSDLToJavaProcessor.wsdlDefinitionToJavaModel(WSDLToJavaProcessor.java:88)
>      [exec] 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.WSDLToJavaProcessor.process(WSDLToJavaProcessor.java:60)
>      [exec] 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:197)
>      [exec] 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:232)
>      [exec] 	... 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