You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Savas Ali Tokmen (JIRA)" <ji...@apache.org> on 2010/10/06 15:00:40 UTC
[jira] Created: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
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
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.
[jira] Updated: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Savas Ali Tokmen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Savas Ali Tokmen updated CAMEL-3201:
------------------------------------
Regression: [Regression]
> 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
>
>
> 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.
[jira] Commented: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Savas Ali Tokmen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Savas Ali Tokmen updated CAMEL-3201:
------------------------------------
Attachment: CAMEL-3201.patch
> 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.
[jira] Updated: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Savas Ali Tokmen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Savas Ali Tokmen updated CAMEL-3201:
------------------------------------
Attachment: (was: CAMEL-3201.patch)
> 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.
[jira] Resolved: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hadrian Zbarcea resolved CAMEL-3201.
------------------------------------
Resolution: Fixed
Patch applied with thanks to Savas (rev: 1005334). Keep them coming.
> 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
> Assignee: Hadrian Zbarcea
> 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.
[jira] Work started: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-3201 started by Hadrian Zbarcea.
> 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
> Assignee: Hadrian Zbarcea
> 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.
[jira] Commented: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Savas Ali Tokmen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62418#action_62418 ]
Savas Ali Tokmen commented on CAMEL-3201:
-----------------------------------------
Excellent :)
Indeed, I'm using the HTTP transport without Jetty, hence the NPE as Willem explained
Cheers
> 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
> Assignee: Hadrian Zbarcea
> 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.
[jira] Updated: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Savas Ali Tokmen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Savas Ali Tokmen updated CAMEL-3201:
------------------------------------
Attachment: CAMEL-3201.patch
Attaching patch
> 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.
[jira] Assigned: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hadrian Zbarcea reassigned CAMEL-3201:
--------------------------------------
Assignee: Hadrian Zbarcea
> 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
> Assignee: Hadrian Zbarcea
> 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.
[jira] Commented: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62414#action_62414 ]
Willem Jiang commented on CAMEL-3201:
-------------------------------------
@Hadrian
I'm OK with the patch, please apply it.
> 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
> Assignee: Hadrian Zbarcea
> 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.
[jira] Commented: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62405#action_62405 ]
Claus Ibsen commented on CAMEL-3201:
------------------------------------
Hadrian get in touch with willem as he knows this CXF continuation stuff and have worked on this.
> 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
> Assignee: Hadrian Zbarcea
> 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.
[jira] Commented: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62415#action_62415 ]
Willem Jiang commented on CAMEL-3201:
-------------------------------------
If you are using cxf-rt-http-jetty-transport or cxf-rt-jms-transport, there is always a ContinuationProvider, but if you are using other transport, you will get the NPE.
> 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
> Assignee: Hadrian Zbarcea
> 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.
[jira] Commented: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62399#action_62399 ]
Hadrian Zbarcea commented on CAMEL-3201:
----------------------------------------
Thanks Savas, I'll apply the patch, you still get the credit :).
> 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
> Assignee: Hadrian Zbarcea
> 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.
[jira] Commented: (CAMEL-3201) The CxfConsumer's getContinuation
method might throw NPE
Posted by "Savas Ali Tokmen (JIRA)" <ji...@apache.org>.
[ 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.