Aries
  1. Aries
  2. ARIES-1005

BundleHookBundleTracker throws Exception when close()-method is called twice

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: util-1.1.1
    • Component/s: Util
    • Labels:
      None

      Description

        public void close() {
            sr.unregister();
            tracked.close();
            tracked = null;
        }
      

      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)

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Christoph Gritschenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development