camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Mommaerts (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6243) npe when receiving a soapfault with the CFX_MESSAGE dataformat
Date Mon, 08 Apr 2013 08:43:16 GMT

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

Nicolas Mommaerts commented on CAMEL-6243:
------------------------------------------

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <env:Fault>
         <faultcode>env:Server</faultcode>
         <faultstring>The request cannot be processed, time is over. (The request timestamp
is over the timeout)</faultstring>
         <detail>
            <ns2:CWFault xmlns:ns2="http://acme.com/">
               <ns2:errorMessageId>WSEX0252</ns2:errorMessageId>
               <ns2:errorMessage>The request cannot be processed, time is over. (The
request timestamp is over the timeout)</ns2:errorMessage>
               <ns2:comment>The request timestamp is over the timeout</ns2:comment>
            </ns2:CWFault>
         </detail>
      </env:Fault>
   </env:Body>
</env:Envelope>
                
> npe when receiving a soapfault with the CFX_MESSAGE dataformat
> --------------------------------------------------------------
>
>                 Key: CAMEL-6243
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6243
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.10.3, 2.10.4
>         Environment: Windows 7, Java 6
>            Reporter: Nicolas Mommaerts
>
> cxf proxy scenario:
> from("cxf:bean:brokerOrderLimit?dataFormat=CXF_MESSAGE")
> .to("cxf:bean:thalerOrderLimit?dataFormat=CXF_MESSAGE");
> When the thalerOrderLimit service returns a SOAPFault a NPE occurs:
> java.lang.NullPointerException
> 	at org.apache.cxf.interceptor.ClientFaultConverter.getConstructor(ClientFaultConverter.java:204)[cxf-api-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.interceptor.ClientFaultConverter.processFaultDetail(ClientFaultConverter.java:176)[cxf-api-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.interceptor.ClientFaultConverter.handleMessage(ClientFaultConverter.java:80)[cxf-api-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[cxf-api-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)[cxf-api-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)[cxf-rt-bindings-soap-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)[cxf-rt-bindings-soap-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[cxf-api-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:783)[cxf-api-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1694)[cxf-rt-transports-http-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1535)[cxf-rt-transports-http-2.6.3.jar:2.6.3]
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:426)[cxf-api-2.6.3.jar:2.6.3]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)[:1.6.0_21]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.6.0_21]
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:351)[cxf-api-2.6.3.jar:2.6.3]
> 	at java.lang.Thread.run(Unknown Source)[:1.6.0_21]
> 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:1540)
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:426)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:351)
> 	at java.lang.Thread.run(Unknown Source)
> Worked around by switching to PAYLOAD

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

Mime
View raw message