java.lang.IndexOutOfBoundsException

Index: 2, Size: 2

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6623

  • via GitHub by Thurisas
    , 6 months ago
    Index: 2, Size: 2
  • Index: 2, Size: 2
  • Index: 2, Size: 2
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.rangeCheck(ArrayList.java:653)[na:1.8.0_60] at java.util.ArrayList.get(ArrayList.java:429)[na:1.8.0_60] at org.jfrog.repomd.docker.v2.view.DockerInfo.getCommand(DockerInfo.java:67)[DockerInfo.class:na] at org.jfrog.repomd.docker.v2.view.DockerInfo.populateWithCommand(DockerInfo.java:49)[DockerInfo.class:na] at org.jfrog.repomd.docker.v2.view.DockerInfo.getDockerV2Info(DockerInfo.java:36)[DockerInfo.class:na] at org.jfrog.repomd.docker.v2.rest.handler.DockerV2LocalRepoHandler.uploadManifest(DockerV2LocalRepoHandler.java:224)[DockerV2LocalRepoHandler.class:na] at org.jfrog.repomd.docker.v2.rest.DockerV2Resource.uploadManifest(DockerV2Resource.java:69)[DockerV2Resource.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_60] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[JavaMethodInvokerFactory$1.class:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[AbstractResourceMethodDispatchProvider$ResponseOutInvoker.class:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[ResourceJavaMethodDispatcher.class:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[HttpMethodRule.class:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[RightHandPathRule.class:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)[SubLocatorRule.class:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[RightHandPathRule.class:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[ResourceClassRule.class:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[RightHandPathRule.class:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[RootResourceClassesRule.class:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[WebApplicationImpl.class:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[WebApplicationImpl.class:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[WebApplicationImpl.class:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[WebApplicationImpl.class:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[WebComponent.class:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[ServletContainer.class:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[ServletContainer.class:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)[tomcat8-servlet-api-8.0.14.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat8-websocket-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:203)[RepoFilter.class:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:94)[RepoFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:334)[AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:234)[AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190)[AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156)[AccessFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65)[RequestFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:116)[ArtifactoryFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)[tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)[tomcat8-coyote-8.0.14.jar:8.0.14] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)[tomcat8-coyote-8.0.14.jar:8.0.14] at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)[tomcat8-coyote-8.0.14.jar:8.0.14] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)[tomcat8-coyote-8.0.14.jar:8.0.14] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)[tomcat8-coyote-8.0.14.jar:8.0.14] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_60] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat8-util-8.0.14.jar:8.0.14] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_60]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 1 month ago
    Once, 7 months ago
    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 11 months ago
    Once, 1 year ago
    239 more bugmates