felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-3402) DependencyManager stop can trigger IndexOutOfBoundsException
Date Fri, 30 Mar 2012 09:30:48 GMT

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

Bram de Kruijff updated FELIX-3402:
-----------------------------------

    Component/s: Dependency Manager
    
> DependencyManager stop can trigger IndexOutOfBoundsException
> ------------------------------------------------------------
>
>                 Key: FELIX-3402
>                 URL: https://issues.apache.org/jira/browse/FELIX-3402
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>    Affects Versions: dependencymanager-3.0.0
>            Reporter: Bram de Kruijff
>            Assignee: Marcel Offermans
>         Attachments: FELIX-3402-sync.patch
>
>
> 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