ResequencerType.createProcessor could throw NPE as stream config does not get
initialized.
------------------------------------------------------------------------------------------
Key: CAMEL-620
URL: https://issues.apache.org/activemq/browse/CAMEL-620
Project: Apache Camel
Issue Type: Bug
Components: camel-core
Reporter: William Tam
java.lang.NullPointerException
at
org.apache.camel.model.ResequencerType.createStreamResequencer(ResequencerType.java:198)
at
org.apache.camel.model.ResequencerType.createProcessor(ResequencerType.java:163)
at
org.apache.camel.model.ProcessorType.createOutputsProcessor(ProcessorType.java:1584)
at
org.apache.camel.model.ProcessorType.createOutputsProcessor(ProcessorType.java:93)
at
org.apache.camel.model.InterceptorRef.createProcessor(InterceptorRef.java:61)
at
org.apache.camel.model.ProcessorType.makeProcessor(ProcessorType.java:1471)
at org.apache.camel.model.ProcessorType.addRoutes(ProcessorType.java:97)
at org.apache.camel.model.RouteType.addRoutes(RouteType.java:210)
at org.apache.camel.model.RouteType.addRoutes(RouteType.java:80)
at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:462)
at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:454)
at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:47)
at
org.apache.camel.ContextTestSupport.startCamelContext(ContextTestSupport.java:108)
at org.apache.camel.ContextTestSupport.setUp(ContextTestSupport.java:81)
at
org.apache.camel.processor.ResequencerTest.setUp(ResequencerTest.java:48)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.