RuntimeException in Timer
baumgarten Oct 14, 2005 1:14 AMHello,
I use JBoss 4.0.3 and optimistic locking. Sometimes I get the following Exception. There are only jboss classes in the stack trace. Could this be a bug?
regards
Sven
2005/10/13 15:53:43 | ERROR [LogInterceptor] RuntimeException in method: public abstract void javax.ejb.TimedObject.ejbTimeout(javax.ejb.Timer):
2005/10/13 15:53:43 | java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
2005/10/13 15:53:43 | at java.util.ArrayList.RangeCheck(Unknown Source)
2005/10/13 15:53:43 | at java.util.ArrayList.remove(Unknown Source)
2005/10/13 15:53:43 | at org.jboss.security.SecurityAssociation$SubjectThreadLocalStack.pop(SecurityAssociation.java:762)
2005/10/13 15:53:43 | at org.jboss.security.SecurityAssociation.popSubjectContext(SecurityAssociation.java:486)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.SecurityActions$5.pop(SecurityActions.java:88)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.SecurityActions.popSubjectContext(SecurityActions.java:277)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:159)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
2005/10/13 15:53:43 | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
2005/10/13 15:53:43 | at org.jboss.ejb.Container.invoke(Container.java:873)
2005/10/13 15:53:43 | at org.jboss.ejb.txtimer.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:82)
2005/10/13 15:53:43 | at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:473)
2005/10/13 15:53:43 | at java.util.TimerThread.mainLoop(Unknown Source)
2005/10/13 15:53:43 | at java.util.TimerThread.run(Unknown Source)
2005/10/13 15:53:43 | ERROR [TimerImpl] Error invoking ejbTimeout
2005/10/13 15:53:43 | javax.ejb.EJBException: RuntimeException; CausedByException is:
2005/10/13 15:53:43 | Index: 3, Size: 2
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:382)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
2005/10/13 15:53:43 | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
2005/10/13 15:53:43 | at org.jboss.ejb.Container.invoke(Container.java:873)
2005/10/13 15:53:43 | at org.jboss.ejb.txtimer.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:82)
2005/10/13 15:53:43 | at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:473)
2005/10/13 15:53:43 | at java.util.TimerThread.mainLoop(Unknown Source)
2005/10/13 15:53:43 | at java.util.TimerThread.run(Unknown Source)
2005/10/13 15:53:43 | java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
2005/10/13 15:53:43 | at java.util.ArrayList.RangeCheck(Unknown Source)
2005/10/13 15:53:43 | at java.util.ArrayList.remove(Unknown Source)
2005/10/13 15:53:43 | at org.jboss.security.SecurityAssociation$SubjectThreadLocalStack.pop(SecurityAssociation.java:762)
2005/10/13 15:53:43 | at org.jboss.security.SecurityAssociation.popSubjectContext(SecurityAssociation.java:486)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.SecurityActions$5.pop(SecurityActions.java:88)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.SecurityActions.popSubjectContext(SecurityActions.java:277)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:159)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
2005/10/13 15:53:43 | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
2005/10/13 15:53:43 | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
2005/10/13 15:53:43 | at org.jboss.ejb.Container.invoke(Container.java:873)
2005/10/13 15:53:43 | at org.jboss.ejb.txtimer.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:82)
2005/10/13 15:53:43 | at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:473)
2005/10/13 15:53:43 | at java.util.TimerThread.mainLoop(Unknown Source)
2005/10/13 15:53:43 | at java.util.TimerThread.run(Unknown Source)