Yes, the attached patch includes those tests.
On Mon, Jun 23, 2008 at 11:59 PM, Claus Ibsen (JIRA) <[EMAIL PROTECTED]> wrote: > > [ > https://issues.apache.org/activemq/browse/CAMEL-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43667#action_43667 > ] > > Claus Ibsen commented on CAMEL-620: > ----------------------------------- > > Great William. > > Is it possible to provide these tests as a patch - would be great to include > them in the source? > >> 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 >> Affects Versions: 1.3.0, 1.4.0 >> Reporter: William Tam >> Fix For: 1.4.0 >> >> Attachments: patch.txt >> >> >> 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. > >
