-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
%
Fix CamelEndpointWithJaxbTest.java failure on 1.6.x and 1.7.x branches - it looks like the error is around FactHandle - the NPE looks like it is because the entryPoint sent to return the factHandle is null here -
Stacktrace: ***********************************
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.663 sec <<< FAILURE! - in org.kie.camel.component.CamelEndpointWithJaxbTest
testSessionModify(org.kie.camel.component.CamelEndpointWithJaxbTest) Time elapsed: 0.292 sec <<< ERROR!
org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[Message: BatchExecutionCommandImpl{lookup='ksession1', commands=[modify() with (this)
]
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.getWorkingMemoryEntryPoint(StatefulKnowledgeSessionImpl.java:1950)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.getEntryPoint(StatefulKnowledgeSessionImpl.java:440)
at org.drools.core.command.runtime.rule.ModifyCommand.execute(ModifyCommand.java:126)
at org.drools.core.command.runtime.BatchExecutionCommandImpl.execute(BatchExecutionCommandImpl.java:137)
at org.drools.core.command.runtime.BatchExecutionCommandImpl.execute(BatchExecutionCommandImpl.java:51)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.execute(StatefulKnowledgeSessionImpl.java:746)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.execute(StatefulKnowledgeSessionImpl.java:720)
at org.kie.camel.component.KieExecuteProducer.process(KieExecuteProducer.java:88)
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:139)
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:63)
at org.kie.camel.component.KiePolicy$KieProcess.process(KiePolicy.java:317)
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91)
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:51)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:68)
at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:375)
at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:343)
at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:233)
at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:343)
at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:201)
at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:128)
at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:132)
at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:149)
at org.apache.camel.impl.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:301)
at org.kie.camel.component.CamelEndpointWithJaxbTest.testSessionModify(CamelEndpointWithJaxbTest.java:135)
Results :
Tests in error:
CamelEndpointWithJaxbTest.testSessionModify:135 ยป CamelExecution Exception occ...
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0