javax.faces.FacesException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

ICEsoft JIRA Issue Tracker | Philip Breau | 3 years ago
  1. 0

    The following exception is thrown when continuing to click on a DataView row: Oct 4, 2013 2:23:09 PM org.icefaces.impl.application.ExtendedExceptionHandler handle WARNING: queued exception javax.faces.FacesException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:257) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.icesoft.servlet.MultipartFilter.doFilter(MultipartFilter.java:74) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.acme.filter.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:252) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.icemobile.model.DataViewListDataModel.getDataByIndex(DataViewListDataModel.java:44) at org.icefaces.mobi.component.dataview.DataView.initDetailContext(DataView.java:171) at org.icefaces.mobi.component.dataview.DataView.visitTree(DataView.java:83) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIForm.visitTree(UIForm.java:371) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at com.sun.faces.application.view.FaceletPartialStateManagementStrategy.restoreView(FaceletPartialStateManagementStra tegy.java:367) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:138) at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123) at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:569) at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:141) at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:301) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:192) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

    ICEsoft JIRA Issue Tracker | 3 years ago | Philip Breau
    javax.faces.FacesException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    The following exception is thrown when continuing to click on a DataView row: Oct 4, 2013 2:23:09 PM org.icefaces.impl.application.ExtendedExceptionHandler handle WARNING: queued exception javax.faces.FacesException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:257) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.icesoft.servlet.MultipartFilter.doFilter(MultipartFilter.java:74) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.acme.filter.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:252) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.icemobile.model.DataViewListDataModel.getDataByIndex(DataViewListDataModel.java:44) at org.icefaces.mobi.component.dataview.DataView.initDetailContext(DataView.java:171) at org.icefaces.mobi.component.dataview.DataView.visitTree(DataView.java:83) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIForm.visitTree(UIForm.java:371) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1626) at com.sun.faces.application.view.FaceletPartialStateManagementStrategy.restoreView(FaceletPartialStateManagementStra tegy.java:367) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:138) at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123) at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:569) at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:141) at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:301) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:192) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

    ICEsoft JIRA Issue Tracker | 3 years ago | Philip Breau
    javax.faces.FacesException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 0

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

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

    Automated exception search integrated into your IDE

  5. 0

    2.4.8 Fatal error when file is empty

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

  1. bmacedo 4 times, last 5 days ago
  2. mhicauber 1 times, last 5 days ago
  3. filpgame 2 times, last 1 week ago
  4. tvrmsmith 1 times, last 1 week ago
  5. Indri Yunita 12 times, last 1 week ago
67 more registered users
28 unregistered visitors
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.icemobile.model
    DataViewListDataModel.getDataByIndex
    1. org.icemobile.model.DataViewListDataModel.getDataByIndex(DataViewListDataModel.java:44)
    1 frame
  4. org.icefaces.mobi
    DataView.visitTree
    1. org.icefaces.mobi.component.dataview.DataView.initDetailContext(DataView.java:171)
    2. org.icefaces.mobi.component.dataview.DataView.visitTree(DataView.java:83)
    2 frames
  5. JavaEE 7
    UIComponent.visitTree
    1. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    2. javax.faces.component.UIForm.visitTree(UIForm.java:371)
    3. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    4. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    5. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    6. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    7. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    8. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    9. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    10. javax.faces.component.UIComponent.visitTree(UIComponent.java:1626)
    10 frames
  6. JSF
    MultiViewHandler.restoreView
    1. com.sun.faces.application.view.FaceletPartialStateManagementStrategy.restoreView(FaceletPartialStateManagementStrategy.java:367)
    2. com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:138)
    3. com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123)
    4. com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:569)
    5. com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:141)
    5 frames
  7. JavaEE 7
    ViewHandlerWrapper.restoreView
    1. javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:301)
    1 frame
  8. JSF
    LifecycleImpl.execute
    1. com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:192)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
    4. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    4 frames
  9. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
    1 frame
  10. Atmosphere weblogic
    StubSecurityHelper$ServletServiceAction.run
    1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    1 frame