You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Timothy Ward (JIRA)" <ji...@apache.org> on 2013/05/02 11:16:16 UTC

[jira] [Resolved] (ARIES-1005) BundleHookBundleTracker throws Exception when close()-method is called twice

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

Timothy Ward resolved ARIES-1005.
---------------------------------

    Resolution: Fixed

Fixed in trunk, will be included in the next util release
                
> BundleHookBundleTracker throws Exception when close()-method is called twice
> ----------------------------------------------------------------------------
>
>                 Key: ARIES-1005
>                 URL: https://issues.apache.org/jira/browse/ARIES-1005
>             Project: Aries
>          Issue Type: Bug
>          Components: Util
>            Reporter: Christoph Gritschenberger
>             Fix For: util-1.1.1
>
>
> {code}
>   public void close() {
>       sr.unregister();
>       tracked.close();
>       tracked = null;
>   }
> {code}
> Supsequent calls cause sr.unregister to throw an IllegalStateException.
> Since today, there is a piece of code introduced by ARIES-1004 that does actually do that (http://mail-archives.apache.org/mod_mbox/aries-commits/201301.mbox/%3C20130118083142.DA5852388900%40eris.apache.org%3E)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira