[
https://issues.apache.org/jira/browse/CAMEL-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295681#comment-13295681
]
Willem Jiang commented on CAMEL-5331:
-------------------------------------
@Gert,
The patch looks good, please go ahead to apply it into the trunk.
> NPE when using bare SOAP parameter binding with payload mode
> ------------------------------------------------------------
>
> Key: CAMEL-5331
> URL: https://issues.apache.org/jira/browse/CAMEL-5331
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.8.5, 2.9.2, 2.10.0
> Reporter: Gert Vanthienen
> Assignee: Gert Vanthienen
> Attachments:
> 0001-Fix-for-bare-SOAP-binding-camel-cxf-payload-mode-NPE.patch
>
>
> When combining a webservice that uses bare SOAP parameter binding with
> payload mode in camel-cxf, you get this NullPointerException:
> {noformat}
> java.lang.NullPointerException
> at
> org.apache.camel.component.cxf.CxfEndpoint$CamelCxfClientImpl.setParameters(CxfEndpoint.java:877)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:512)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:457)
> at
> org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:112)
> at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
> ...
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira