[picocontainer-scm] [jira] Created: (PICO-367) java.lang.ArrayIndexOutOfBoundsException in org.picocontainer.DefaultPicoContainer.addOrderedComponentAdapter

"Trejkaz (JIRA)" <jira-yCVjj/[email protected]>
Newsgroups gmane.comp.java.picocontainer.cvs
Message-ID <3611486.761.1257113395132.JavaMail.haus-jira@codehaus01.managed.contegix.com>
java.lang.ArrayIndexOutOfBoundsException in org.picocontainer.DefaultPicoContainer.addOrderedComponentAdapter
-------------------------------------------------------------------------------------------------------------

                 Key: PICO-367
                 URL: http://jira.codehaus.org/browse/PICO-367
             Project: PicoContainer
          Issue Type: Bug
          Components: PicoContainer (Java)
    Affects Versions: 2.8.3
            Reporter: Trejkaz


We get this error intermittently when running our unit tests:

java.lang.ArrayIndexOutOfBoundsException: 11
	at java.util.ArrayList.add(ArrayList.java:352)
	at org.picocontainer.DefaultPicoContainer.addOrderedComponentAdapter(DefaultPicoContainer.java:465)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:585)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:535)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:547)

It has been happening at least from 2.6 ~ 2.8.3.  Interestingly enough, when it happens, two tests fail with the same error, even though we recreate the container for every test method.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.