ContextTestSupport's tearDown will through NPE, if the exception is thrown from
the setup method
------------------------------------------------------------------------------------------------
Key: CAMEL-1575
URL: https://issues.apache.org/activemq/browse/CAMEL-1575
Project: Apache Camel
Issue Type: Improvement
Affects Versions: 2.0-M1, 1.6.0, 1.5.0, 1.4.0, 1.3.0
Reporter: Willem Jiang
Assignee: Willem Jiang
Fix For: 1.6.1, 2.0-M2
PaxExam container will call the tearDown method finally, if the after method
throws exception,
the orginal exception (which is thrown by setUp method or the test method)
will be overrided..
ContextTestSupport's tearDown method will through NPE, if the exception is
thrown from the setup method
We need to check the reference of context and template first before we can
their stop method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.