6 Replies Latest reply on Apr 28, 2011 1:55 PM by Jochen Lauer

    camel components - success in first run, exception in second run

    Jochen Lauer Apprentice

      Hello,

       

      I have got several camel osgi components deployed in fuse 4.3.1

       

      1) read input file and send via multicast to 3 other components via jms

      2,3,4) read jms queues/topics and enrich content

       

      Everything works fine during the first run. When I copy the input file a second time in the configured directory I got

       

      20:30:21,699 | ERROR | tenerContainer-1 | DefaultErrorHandler              | ?                                   ? | 68 - org.apache.camel.camel-core

       

       

      • 2.6.0.fuse-00-00 | Failed delivery for exchangeId: ID:xxxxxxx-54648-1303928900867-0:7:1:1:4. Exhausted after delivery attempt: 1 caught: java.lang.N

      ullPointerException

      java.lang.NullPointerException

      at net.test.openliga.camel.TeamAggregationStrategy.aggregate(TeamAggregationStrategy.java:42)[353:openliga-import-teams-target-osgi:4.3.1.fu

      se-00-00]

      at org.apache.camel.processor.PollEnricher.process(PollEnricher.java:151)68:org.apache.camel.camel-core:2.6.0.fuse-00-00

      at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)[68

      :org.apache.camel.camel-core:2.6.0.fuse-00-00]

      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)68:org.apache.camel.camel-core:2.6.0.fuse-00-00

      at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[68:org.apache.camel.camel-core:2.6.0.fuse-00-

      00]

      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)68:org.apache.camel.camel-core:2.6.0.fuse-00-00

      at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[68:org.apache.camel.camel-core:2.6.0.fuse-00

      -00]

      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)68:org.apache.camel.camel-core:2.6.0.fuse-00-00

      at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[68:org.apache.camel.camel-core:2.6.0.fuse-00-

      00]

      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)68:org.apache.camel.camel-core:2.6.0.fuse-00-00

       

       

      Config:

      1)

       

         

       

       

       

      Thanks

      labo