java.lang.IndexOutOfBoundsException: Index: 2, Size: 0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Unknown author, 2 years ago
via Netbeans Bugzilla by pfelenda, 1 year ago
via Oracle Community by 807605, 3 months ago
via java-forums.org by Unknown author, 2 years ago
java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.remove(ArrayList.java:387)
at org.sonatype.nexus.configuration.model.AbstractXpp3DomExternalConfigurationHolder.setCollection(AbstractXpp3DomExternalConfigurationHolder.java:228)
at org.sonatype.nexus.proxy.repository.AbstractGroupRepositoryConfiguration.clearMemberRepositoryIds(AbstractGroupRepositoryConfiguration.java:56)
at org.sonatype.nexus.rest.groups.AbstractRepositoryGroupPlexusResource.updateRepositoryGroup(AbstractRepositoryGroupPlexusResource.java:163)
at org.sonatype.nexus.rest.groups.AbstractRepositoryGroupPlexusResource.createOrUpdateRepositoryGroup(AbstractRepositoryGroupPlexusResource.java:139)
at org.sonatype.nexus.rest.groups.RepositoryGroupPlexusResource.put(RepositoryGroupPlexusResource.java:164)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
580 times, 1 year ago
4 times, 5 months ago
Once, 6 months ago
7 times, 7 months ago
23 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.