java.lang.IndexOutOfBoundsException

tip

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.


rafaelrafael

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

  • Stateful EJB giving exception
    via by 3004,
    • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:491) at java.util.ArrayList.get(ArrayList.java:307) at weblogic.rmi.cluster.BasicReplicaList.getPrimary(BasicReplicaList.java:76) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.getPrimaryRef(ReplicaAwareRemoteRef.java:135) at weblogic.rmi.cluster.PrimarySecondaryRemoteObject.changeSecondary(PrimarySecondaryRemoteObject.java:50) at weblogic.rmi.cluster.PrimarySecondaryRemoteObject.<init>(PrimarySecondaryRemoteObject.java:36) at weblogic.ejb20.manager.ReplicatedStatefulSessionManager.registerReplicatedObject(ReplicatedStatefulSessionManager.java:285) at weblogic.ejb20.swap.ReplicatedMemorySwap.read(ReplicatedMemorySwap.java:117) at weblogic.ejb20.manager.StatefulSessionManager.getBean(StatefulSessionManager.java:245) at weblogic.ejb20.manager.StatefulSessionManager.preInvoke(StatefulSessionManager.java:317) at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:124) at weblogic.ejb20.internal.StatefulEJBObject.preInvoke(StatefulEJBObject.java:182) at com.workscape.ps.gmpin.ejb.session.CommonAuthSessionManagerBean_gt22rd_EOImpl.createSession(CommonAuthSessionManagerBean_gt22rd_EOImpl.java:66) at com.workscape.ps.gmpin.ejb.session.CommonAuthSessionManagerBean_gt22rd_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305) at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274) at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:167) at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at $Proxy84.createSession(Unknown Source) at com.workscape.ps.gmpin.impl.SessionManager.createSession(SessionManager.java:68) at com.workscape.ps.gmpin.PINService.authenticateUser(PINService.java:39) at java.lang.reflect.Method.invoke(Native Method) at electric.util.reflect.Invocation.execute(Unknown Source) at electric.util.reflect.Invocation.invoke(Unknown Source) at electric.service.object.ObjectService.invoke(Unknown Source) at electric.soap.SOAPHandler.invokeOnService(Unknown Source) at electric.soap.SOAPHandler.invoke(Unknown Source) at electric.soap.http.SOAPHTTPHandler.service(Unknown Source) at electric.server.http.ServletServer.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Users with the same issue

    PilleoPilleo
    9 times, last one,
    Agócs TamásAgócs Tamás
    8 times, last one,
    nasimknasimk
    2 times, last one,
    AxeloAxelo
    7 times, last one,
    osvzsosvzs
    12 times, last one,
    225 more bugmates