You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/04/30 13:39:42 UTC
[jira] Created: (CAMEL-1575) ContextTestSupport's tearDown will
through NPE, if the exception is thrown from the setup method
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.
[jira] Resolved: (CAMEL-1575) ContextTestSupport's tearDown will
through NPE, if the exception is thrown from the setup method
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Issue Comment Edited: (CAMEL-1575) ContextTestSupport's
tearDown will through NPE, if the exception is thrown from the setup method
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51461#action_51461 ]
Willem Jiang edited comment on CAMEL-1575 at 4/30/09 5:31 AM:
--------------------------------------------------------------
trunk
http://svn.apache.org/viewvc?rev=770172&view=rev
camel-1.x
http://svn.apache.org/viewvc?rev=770192&view=rev
was (Author: njiang):
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.