[ 
https://issues.apache.org/activemq/browse/CAMEL-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Willem Jiang resolved CAMEL-1575.
---------------------------------

    Resolution: Fixed

trunk
 http://svn.apache.org/viewvc?rev=770172&view=rev
camel-1.x
 http://svn.apache.org/viewvc?rev=770182&view=rev

> 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: 1.3.0, 1.4.0, 1.5.0, 1.6.0, 2.0-M1
>            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.

Reply via email to