[
https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62397#action_62397
]
Savas Ali Tokmen commented on CAMEL-3201:
-----------------------------------------
Hello
Yes, indeed I had meant your version :)
The return being null is already checked by the caller, here is a snippet:
{noformat}
Continuation continuation = getContinuation(cxfExchange);
if (continuation != null && !endpoint.isSynchronous()) {
return asyncInvoke(cxfExchange, continuation);
} else {
return syncInvoke(cxfExchange);
}
{noformat}
> The CxfConsumer's getContinuation method might throw NPE
> --------------------------------------------------------
>
> Key: CAMEL-3201
> URL: https://issues.apache.org/activemq/browse/CAMEL-3201
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.5.0
> Reporter: Savas Ali Tokmen
> Fix For: 2.5.0
>
> Attachments: CAMEL-3201.patch
>
>
> Hello
> When trying the latest CAMEL 2.5.0 SNAPSHOT, I got a NPE:
> {noformat}
> java.lang.NullPointerException
> at
> org.apache.camel.component.cxf.CxfConsumer$1.getContinuation(CxfConsumer.java:129)
> at
> org.apache.camel.component.cxf.CxfConsumer$1.invoke(CxfConsumer.java:65)
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> ...
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.