0 Replies Latest reply: Mar 26, 2010 7:48 AM by 807575 RSS

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

    807575
      hi all
      i have wriiten some application in sun studio creator witch is using oracle database and i have deploied it on tomcat
      sometimes (not often) in catalina log i have such error:
      SEVERE: Index: 0, Size: 0
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
           at java.util.ArrayList.RangeCheck(ArrayList.java:547)
           at java.util.ArrayList.remove(ArrayList.java:387)
           at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:271)
           at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
           at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
           at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Thread.java:619)

      anyone can help? why i'm getting this error sometimes and how can i awoid this?