Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5211

NullPointerException in camel-cxf consumer with dataFormat=MESSAGE and JMS transport at the end of Camel route

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Camel, CXF
    • % %
    • Hide

      Use test case provided on SFDC ticket and follow steps in this comment.

      Show
      Use test case provided on SFDC ticket and follow steps in this comment .
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

    Description

      This is a follow up ticket from ENTESB-5158!

      With camel-cxf-2.15.1.redhat-621084.jar updated from ENTESB-5158, CXF now raises the following exception at the end of the Camel route, despite the Camel exchange being routed successfully.

      10:38:54,389 | WARN  | pool-13-thread-1 | PhaseInterceptorChain            | 74 - org.apache.cxf.cxf-core - 3.0.4.redhat-621084 | Interceptor for {http://www.nbnco.com.au/service/ManageIncident/V1}ManageIncidentPortTypeService has thrown exception, unwinding now
      org.apache.cxf.interceptor.Fault
      	at org.apache.camel.component.cxf.interceptors.RawMessageContentRedirectInterceptor.handleMessage(RawMessageContentRedirectInterceptor.java:59)[207:org.apache.camel.camel-cxf:2.15.0.redhat-620-SNAPSHOT]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      	at org.apache.cxf.transport.jms.JMSDestination.onMessage(JMSDestination.java:233)[272:org.apache.cxf.cxf-rt-transports-jms:3.0.4.redhat-621084]
      	at org.apache.cxf.transport.jms.util.PollingMessageListenerContainer$XAPoller.run(PollingMessageListenerContainer.java:117)[272:org.apache.cxf.cxf-rt-transports-jms:3.0.4.redhat-621084]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
      	at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
      Caused by: java.lang.NullPointerException
      	at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:198)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      	at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:142)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      	at org.apache.camel.component.cxf.interceptors.RawMessageContentRedirectInterceptor.handleMessage(RawMessageContentRedirectInterceptor.java:56)[207:org.apache.camel.camel-cxf:2.15.0.redhat-620-SNAPSHOT]
      	... 9 more
      

      Attachments

        Issue Links

          Activity

            People

              yfang@redhat.com Freeman(Yue) Fang
              rhn-support-tmielke Torsten Mielke
              Viliam Kasala Viliam Kasala
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: