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

NPE in camel-nmr after installing p3 on 6.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.0
    • jboss-fuse-6.0
    • None
    • None
    • % %

      After installing Jboss 6.0 p3, we're hitting a NPE:

      17:36:09,264 | WARN  | #0 - timer://foo | TimerConsumer                    | 130 - org.apache.camel.camel-core - 2.10.0.redhat-60033 | Error processing exchange. Exchange[Message: [Body is null]]. Caused by: [java.lang.NullPointerException - null]
      java.lang.NullPointerException
      	at org.apache.servicemix.camel.nmr.ServiceMixConsumer.handleCamelResponse(ServiceMixConsumer.java:103)
      	at org.apache.servicemix.camel.nmr.ServiceMixConsumer.onComplete(ServiceMixConsumer.java:124)
      	at org.apache.servicemix.camel.nmr.ServiceMixConsumer.process(ServiceMixConsumer.java:81)
      	at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:86)
      	at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:275)
      	at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:231)
      	at org.apache.servicemix.executors.impl.ExecutorImpl$1.run(ExecutorImpl.java:64)
      	at org.apache.servicemix.executors.impl.ExecutorImpl.execute(ExecutorImpl.java:53)
      	at org.apache.servicemix.nmr.core.ChannelImpl.deliver(ChannelImpl.java:229)
      	at org.apache.servicemix.nmr.core.StraightThroughFlow.dispatch(StraightThroughFlow.java:55)
      	at org.apache.servicemix.nmr.core.FlowRegistryImpl.internalDispatch(FlowRegistryImpl.java:147)
      	at org.apache.servicemix.nmr.core.FlowRegistryImpl.dispatch(FlowRegistryImpl.java:118)
      	at org.apache.servicemix.nmr.core.ChannelImpl.dispatch(ChannelImpl.java:308)
      	at org.apache.servicemix.nmr.core.ChannelImpl.sendSync(ChannelImpl.java:156)
      	at org.apache.servicemix.camel.nmr.ServiceMixProducer.process(ServiceMixProducer.java:65)
      	at org.apache.camel.impl.SynchronousDelegateProducer.process(SynchronousDelegateProducer.java:61)
      	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
      	at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:122)
      	at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:298)
      	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:117)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
      	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
      	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
      	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
      	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
      	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
      	at org.apache.camel.fabric.FabricTraceProcessor.process(FabricTraceProcessor.java:81)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
      	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
      	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
      	at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:46)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
      	at org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:308)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
      	at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:46)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
      	at org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
      	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
      	at org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
      	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
      	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
      	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:135)
      	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:63)
      	at java.util.TimerThread.mainLoop(Timer.java:512)
      	at java.util.TimerThread.run(Timer.java:462)
      

      Test Case

      1. Install p3 on Jboss 6.0
      2. features:install camel-nmr
      3. Drop attached route in the deploy directory

              willem.jiang Willem Jiang (Inactive)
              rhn-support-sjavurek Susan Javurek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: