You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "liugang (JIRA)" <ji...@apache.org> on 2013/05/31 08:58:20 UTC

[jira] [Comment Edited] (CAMEL-6404) cCXF route proxy cannot return Fault message to client when Dataformat is CXF_MESSAGE

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

liugang edited comment on CAMEL-6404 at 5/31/13 6:57 AM:
---------------------------------------------------------

I'm using Camel-2.10.4, CXF-2.7.5, see the attached example
                
      was (Author: gangliu):
    I'm using Camel-2.10.4, CXF-2.7.5
                  
> cCXF route proxy cannot return Fault message to client when Dataformat is CXF_MESSAGE
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6404
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6404
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Meifang Shen
>         Attachments: CXFFaultExample.zip
>
>
> use CXF component with CXF_MESSAGE dataFormat to call any service, and the response of this service is a fault, then you can see this exception.
> {noformat} 
> Exception in thread "default-workqueue-1" java.lang.NullPointerException
> 	at org.apache.camel.component.cxf.DefaultCxfBinding.getContentFromCxf(DefaultCxfBinding.java:642)
> 	at org.apache.camel.component.cxf.DefaultCxfBinding.populateExchangeFromCxfResponse(DefaultCxfBinding.java:151)
> 	at org.apache.camel.component.cxf.CxfClientCallback.handleException(CxfClientCallback.java:81)
> 	at org.apache.cxf.interceptor.ClientOutFaultObserver.onMessage(ClientOutFaultObserver.java:59)
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1132)
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)
> 	at java.lang.Thread.run(Thread.java:662)
> {noformat} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira