edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Kuali JIRA | Eric Westfall | 8 years ago
  1. 0

    Todd Yampol ran into this, here is the stacktrace from the engine that he was seeing, I think I tracked it down to the initiation of a DocumentType that is Inactive: 2007-01-19 10:40:57,698 [http-8080-Processor24] INFO org.apache.ws.security.components.crypto.CryptoFactory :: Using Crypto Engine [org.apache.ws.security.components.crypto.Merlin] 2007-01-19 10:40:57,792 [Thread-45] DEBUG edu.iu.uis.eden.routeheader.RouteHeaderServiceImpl :: Successfully locked document [docId=572577] 2007-01-19 10:40:57,792 [Thread-45] INFO edu.iu.uis.eden.engine.StandardWorkflowEngine :: Processing document: 572577 : null 2007-01-19 10:40:57,886 [Thread-45] DEBUG edu.iu.uis.eden.engine.StandardWorkflowEngine :: No more nodes for this document 572577 2007-01-19 10:40:57,886 [Thread-45] DEBUG edu.iu.uis.eden.engine.StandardWorkflowEngine :: Marking document approved 2007-01-19 10:40:57,886 [Thread-45] DEBUG edu.iu.uis.eden.routeheader.DocumentRouteHeaderValue :: edu.iu.uis.eden.routeheader.DocumentRouteHeaderValue@13e5fb8 marked approved 2007-01-19 10:40:57,886 [Thread-45] DEBUG edu.iu.uis.eden.routeheader.DocumentRouteHeaderValue :: changing status 2007-01-19 10:40:57,917 [Thread-45] ERROR edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl :: There was a problem when attempting to route the document. routeHeaderId=572577 edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at edu.iu.uis.eden.plugin.ContextClassLoaderInterceptor.invoke(ContextClassLoaderInterceptor.java:22) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy5.process(Unknown Source) at edu.iu.uis.eden.routemanager.DefaultRouteQueueProcessor.process(DefaultRouteQueueProcessor.java:15) at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl$1.doInTransaction(RouteManagerQueueServiceImpl.java:46) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114) at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl.process(RouteManagerQueueServiceImpl.java:39) at edu.iu.uis.eden.routemanager.QueueEntryRouteManagerWorker.doWork(QueueEntryRouteManagerWorker.java:32) at edu.iu.uis.eden.routemanager.RouteManagerWorkerThread.run(RouteManagerWorkerThread.java:64) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at edu.iu.uis.eden.engine.StandardWorkflowEngine.hasContactedPostProcessor(StandardWorkflowEngine.java:401) at edu.iu.uis.eden.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:362) at edu.iu.uis.eden.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:294) at edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:87) ... 19 more 2007-01-19 10:40:57,948 [Thread-45] ERROR edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl :: Caught Exception while routing. Requesting requeue. edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 java.lang.RuntimeException: edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl$1.doInTransaction(RouteManagerQueueServiceImpl.java:50) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114) at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl.process(RouteManagerQueueServiceImpl.java:39) at edu.iu.uis.eden.routemanager.QueueEntryRouteManagerWorker.doWork(QueueEntryRouteManagerWorker.java:32) at edu.iu.uis.eden.routemanager.RouteManagerWorkerThread.run(RouteManagerWorkerThread.java:64) Caused by: edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at edu.iu.uis.eden.plugin.ContextClassLoaderInterceptor.invoke(ContextClassLoaderInterceptor.java:22) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy5.process(Unknown Source) at edu.iu.uis.eden.routemanager.DefaultRouteQueueProcessor.process(DefaultRouteQueueProcessor.java:15) at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl$1.doInTransaction(RouteManagerQueueServiceImpl.java:46) ... 4 more Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at edu.iu.uis.eden.engine.StandardWorkflowEngine.hasContactedPostProcessor(StandardWorkflowEngine.java:401) at edu.iu.uis.eden.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:362) at edu.iu.uis.eden.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:294) at edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:87) ... 19 more

    Kuali JIRA | 8 years ago | Eric Westfall
    edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    Todd Yampol ran into this, here is the stacktrace from the engine that he was seeing, I think I tracked it down to the initiation of a DocumentType that is Inactive: 2007-01-19 10:40:57,698 [http-8080-Processor24] INFO org.apache.ws.security.components.crypto.CryptoFactory :: Using Crypto Engine [org.apache.ws.security.components.crypto.Merlin] 2007-01-19 10:40:57,792 [Thread-45] DEBUG edu.iu.uis.eden.routeheader.RouteHeaderServiceImpl :: Successfully locked document [docId=572577] 2007-01-19 10:40:57,792 [Thread-45] INFO edu.iu.uis.eden.engine.StandardWorkflowEngine :: Processing document: 572577 : null 2007-01-19 10:40:57,886 [Thread-45] DEBUG edu.iu.uis.eden.engine.StandardWorkflowEngine :: No more nodes for this document 572577 2007-01-19 10:40:57,886 [Thread-45] DEBUG edu.iu.uis.eden.engine.StandardWorkflowEngine :: Marking document approved 2007-01-19 10:40:57,886 [Thread-45] DEBUG edu.iu.uis.eden.routeheader.DocumentRouteHeaderValue :: edu.iu.uis.eden.routeheader.DocumentRouteHeaderValue@13e5fb8 marked approved 2007-01-19 10:40:57,886 [Thread-45] DEBUG edu.iu.uis.eden.routeheader.DocumentRouteHeaderValue :: changing status 2007-01-19 10:40:57,917 [Thread-45] ERROR edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl :: There was a problem when attempting to route the document. routeHeaderId=572577 edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at edu.iu.uis.eden.plugin.ContextClassLoaderInterceptor.invoke(ContextClassLoaderInterceptor.java:22) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy5.process(Unknown Source) at edu.iu.uis.eden.routemanager.DefaultRouteQueueProcessor.process(DefaultRouteQueueProcessor.java:15) at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl$1.doInTransaction(RouteManagerQueueServiceImpl.java:46) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114) at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl.process(RouteManagerQueueServiceImpl.java:39) at edu.iu.uis.eden.routemanager.QueueEntryRouteManagerWorker.doWork(QueueEntryRouteManagerWorker.java:32) at edu.iu.uis.eden.routemanager.RouteManagerWorkerThread.run(RouteManagerWorkerThread.java:64) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at edu.iu.uis.eden.engine.StandardWorkflowEngine.hasContactedPostProcessor(StandardWorkflowEngine.java:401) at edu.iu.uis.eden.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:362) at edu.iu.uis.eden.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:294) at edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:87) ... 19 more 2007-01-19 10:40:57,948 [Thread-45] ERROR edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl :: Caught Exception while routing. Requesting requeue. edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 java.lang.RuntimeException: edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl$1.doInTransaction(RouteManagerQueueServiceImpl.java:50) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114) at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl.process(RouteManagerQueueServiceImpl.java:39) at edu.iu.uis.eden.routemanager.QueueEntryRouteManagerWorker.doWork(QueueEntryRouteManagerWorker.java:32) at edu.iu.uis.eden.routemanager.RouteManagerWorkerThread.run(RouteManagerWorkerThread.java:64) Caused by: edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at edu.iu.uis.eden.plugin.ContextClassLoaderInterceptor.invoke(ContextClassLoaderInterceptor.java:22) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy5.process(Unknown Source) at edu.iu.uis.eden.routemanager.DefaultRouteQueueProcessor.process(DefaultRouteQueueProcessor.java:15) at edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl$1.doInTransaction(RouteManagerQueueServiceImpl.java:46) ... 4 more Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at edu.iu.uis.eden.engine.StandardWorkflowEngine.hasContactedPostProcessor(StandardWorkflowEngine.java:401) at edu.iu.uis.eden.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:362) at edu.iu.uis.eden.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:294) at edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:87) ... 19 more

    Kuali JIRA | 8 years ago | Eric Westfall
    edu.iu.uis.eden.exception.RouteManagerException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 0

    Jsoup :eq(n) selector

    Stack Overflow | 5 years ago | wangjbao
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JXL and Apache POI parsing excel with attached image objects

    Stack Overflow | 7 years ago | Fearstruck
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  6. 0

    IndexOutOfBoundsException in the first row of Glazedlist table?

    Stack Overflow | 4 years ago | itro
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  1. filpgame 1 times, last 1 week ago
  2. Aria Pahlavan 6 times, last 1 week ago
  3. bmacedo 4 times, last 1 week ago
  4. MoYapro 5 times, last 1 week ago
  5. Alexandru Popa 12 times, last 2 weeks ago
63 more registered users
32 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:546)
    2. java.util.ArrayList.get(ArrayList.java:321)
    2 frames
  3. edu.iu.uis
    StandardWorkflowEngine.process
    1. edu.iu.uis.eden.engine.StandardWorkflowEngine.hasContactedPostProcessor(StandardWorkflowEngine.java:401)
    2. edu.iu.uis.eden.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:362)
    3. edu.iu.uis.eden.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:294)
    4. edu.iu.uis.eden.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:87)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  5. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
    3 frames
  6. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
    1 frame
  7. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
    1 frame
  8. edu.iu.uis
    ContextClassLoaderInterceptor.invoke
    1. edu.iu.uis.eden.plugin.ContextClassLoaderInterceptor.invoke(ContextClassLoaderInterceptor.java:22)
    1 frame
  9. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
    2 frames
  10. Unknown
    $Proxy5.process
    1. $Proxy5.process(Unknown Source)
    1 frame
  11. edu.iu.uis
    RouteManagerQueueServiceImpl$1.doInTransaction
    1. edu.iu.uis.eden.routemanager.DefaultRouteQueueProcessor.process(DefaultRouteQueueProcessor.java:15)
    2. edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl$1.doInTransaction(RouteManagerQueueServiceImpl.java:46)
    2 frames
  12. Spring Tx
    TransactionTemplate.execute
    1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114)
    1 frame
  13. edu.iu.uis
    RouteManagerWorkerThread.run
    1. edu.iu.uis.eden.routemanager.RouteManagerQueueServiceImpl.process(RouteManagerQueueServiceImpl.java:39)
    2. edu.iu.uis.eden.routemanager.QueueEntryRouteManagerWorker.doWork(QueueEntryRouteManagerWorker.java:32)
    3. edu.iu.uis.eden.routemanager.RouteManagerWorkerThread.run(RouteManagerWorkerThread.java:64)
    3 frames