You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2010/10/06 15:12:40 UTC

[jira] Commented: (CAMEL-3201) The CxfConsumer's getContinuation method might throw NPE

    [ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62395#action_62395 ] 

Hadrian Zbarcea commented on CAMEL-3201:
----------------------------------------

Thanks for reporting this and for the patch. If provider is null, what happens?
Did you intend something like below?
{code}
return provider == null ? null : provider.getContinuation();
{code}


> 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.