felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3402) DependencyManager stop can trigger IndexOutOfBoundsException
Date Thu, 22 Mar 2012 12:02:21 GMT
DependencyManager stop can trigger IndexOutOfBoundsException
------------------------------------------------------------

                 Key: FELIX-3402
                 URL: https://issues.apache.org/jira/browse/FELIX-3402
             Project: Felix
          Issue Type: Bug
    Affects Versions: dependencymanager-3.0.0
            Reporter: Bram de Kruijff


DependencyManager.clear(), pre FELIX-3042 known as DependencyActivatorBase.cleanup(), iterates
over unprotected list determining size only at the start. 

{code}
build	22-Mar-2012 10:03:08	java.lang.IndexOutOfBoundsException: Index: 66, Size: 66
build	22-Mar-2012 10:03:08		at java.util.ArrayList.RangeCheck(ArrayList.java:547)
build	22-Mar-2012 10:03:08		at java.util.ArrayList.get(ArrayList.java:322)
build	22-Mar-2012 10:03:08		at java.util.Collections$SynchronizedList.get(Collections.java:1816)
build	22-Mar-2012 10:03:08		at java.util.Collections$UnmodifiableList.get(Collections.java:1154)
build	22-Mar-2012 10:03:08		at org.apache.felix.dm.DependencyActivatorBase.cleanup(DependencyActivatorBase.java:301)
build	22-Mar-2012 10:03:08		at org.apache.felix.dm.DependencyActivatorBase.stop(DependencyActivatorBase.java:90)
build	22-Mar-2012 10:03:08		at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:663)
build	22-Mar-2012 10:03:08		at org.apache.felix.framework.Felix.stopBundle(Felix.java:2361)
build	22-Mar-2012 10:03:08		at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:980)
build	22-Mar-2012 10:03:08		at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:967)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message