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

sourceforge.net | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GeoServer / Mailing Lists

    sourceforge.net | 6 months ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    [error] IndexOutOfBoundsException after clicking commandLink on IceFaces 2.0 alpha 2

    icesoft.org | 1 year ago
    javax.faces.FacesException: Unexpected error restoring state for component with id j_idt3. Cause: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    2.4.8 Fatal error when file is empty

    GitHub | 3 years ago | dspiegel
    java.lang.reflect.InvocationTargetException
  5. 0

    Vat Client Crash

    GitHub | 3 years ago | SirWilli
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.RangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.RangeCheck(ArrayList.java:547)
    2. java.util.ArrayList.get(ArrayList.java:322)
    2 frames
  3. org.geotools.gce
    CatalogBuilder$CatalogBuilderDirectoryWalker.handleFile
    1. org.geotools.gce.imagemosaic.properties.time.TimestampFileNameExtractor.setProperties(TimestampFileNameExtractor.java:69)
    2. org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilder$CatalogBuilderDirectoryWalker.handleFile(CatalogBuilder.java:578)
    2 frames
  4. Commons IO
    DirectoryWalker.walk
    1. org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:367)
    2. org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:335)
    2 frames
  5. org.geotools.gce
    ImageMosaicFormat.getReader
    1. org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilder$CatalogBuilderDirectoryWalker.<init>(CatalogBuilder.java:679)
    2. org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilder.run(CatalogBuilder.java:951)
    3. org.geotools.gce.imagemosaic.Utils.createMosaic(Utils.java:228)
    4. org.geotools.gce.imagemosaic.Utils.checkSource(Utils.java:1024)
    5. org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:228)
    6. org.geotools.gce.imagemosaic.ImageMosaicReader.<init>(ImageMosaicReader.java:192)
    7. org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:436)
    8. org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:105)
    8 frames
  6. Main Module
    CatalogBuilder.buildCoverage
    1. org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1025)
    2. org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:817)
    2 frames
  7. org.geoserver.web
    AbstractCoverageStorePage$1.onSubmit
    1. org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:90)
    2. org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:56)
    3. org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:226)
    4. org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:551)
    5. org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.<init>(GeoServerTablePanel.java:544)
    6. org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:219)
    7. org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:92)
    8. org.geoserver.web.data.layer.NewLayerPage$1.<init>(NewLayerPage.java:100)
    9. org.geoserver.web.data.layer.NewLayerPage.<init>(NewLayerPage.java:100)
    10. org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71)
    11. org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:115)
    11 frames
  8. Wicket Core
    AbstractDefaultAjaxBehavior.onRequest
    1. org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
    2. org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
    3. org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
    4. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
    4 frames
  9. org.apache.wicket
    BehaviorRequestTarget.processEvents
    1. org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
    1 frame
  10. Wicket Request
    AbstractRequestCycleProcessor.processEvents
    1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
    1 frame
  11. Wicket Core
    WicketServlet.doPost
    1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
    2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
    3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
    4. org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
    5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
    6. org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
    6 frames
  12. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2 frames
  13. Spring MVC
    FrameworkServlet.doPost
    1. org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
    2. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    3. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    4. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
    5. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
    6. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
    7. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
    7 frames
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2 frames
  15. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
    2 frames
  16. org.geoserver.filters
    ThreadLocalsCleanupFilter.doFilter
    1. org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
    1 frame
  17. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  18. org.geoserver.filters
    SpringDelegatingFilter.doFilter
    1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
    2. org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
    2 frames
  19. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  20. Core Platform Module
    AdvancedDispatchFilter.doFilter
    1. org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
    1 frame
  21. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  22. Main Module
    SetCharacterEncodingFilter.doFilter
    1. org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
    1 frame
  23. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  24. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
    1 frame
  25. org.geoserver.security
    GeoServerCompositeFilter$NestedFilterChain.doFilter
    1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
    1 frame
  26. Spring Security
    FilterSecurityInterceptor.doFilter
    1. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
    2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    2 frames
  27. org.geoserver.security
    GeoServerCompositeFilter.doFilter
    1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
    2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
    2 frames
  28. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    1 frame
  29. org.geoserver.security
    GeoServerCompositeFilter$NestedFilterChain.doFilter
    1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
    1 frame
  30. Spring Security
    ExceptionTranslationFilter.doFilter
    1. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
    1 frame
  31. org.geoserver.security
    GeoServerCompositeFilter.doFilter
    1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
    2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
    2 frames
  32. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    1 frame
  33. org.geoserver.security
    GeoServerAnonymousAuthenticationFilter.doFilter
    1. org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
    1 frame
  34. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    1 frame
  35. org.geoserver.security
    GeoServerCompositeFilter$NestedFilterChain.doFilter
    1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
    1 frame
  36. Spring Security
    RememberMeAuthenticationFilter.doFilter
    1. org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
    1 frame
  37. org.geoserver.security
    GeoServerCompositeFilter.doFilter
    1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
    2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
    2 frames
  38. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    1 frame
  39. org.geoserver.security
    GeoServerCompositeFilter$NestedFilterChain.doFilter
    1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
    1 frame
  40. Spring Security
    SecurityContextPersistenceFilter.doFilter
    1. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
    1 frame
  41. org.geoserver.security
    GeoServerCompositeFilter.doFilter
    1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
    2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
    2 frames
  42. Spring Security
    FilterChainProxy.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    2. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
    2 frames
  43. Main Module
    GeoServerSecurityFilterChainProxy.doFilter
    1. org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:97)
    1 frame
  44. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
    2 frames
  45. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  46. org.geoserver.filters
    LoggingFilter.doFilter
    1. org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
    1 frame
  47. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  48. org.geoserver.filters
    GZIPFilter.doFilter
    1. org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
    1 frame
  49. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  50. org.geoserver.filters
    SessionDebugFilter.doFilter
    1. org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
    1 frame
  51. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
    8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    10. org.mortbay.jetty.Server.handle(Server.java:324)
    11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
    13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
    14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    16 frames
  52. Jetty Util
    BoundedThreadPool$PoolThread.run
    1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
    1 frame