ISPN012005: An error occurred while responding to the client java.util.concurrent.CompletionException: java.lang.IndexOutOfBoundsException
Issue
Error observed in logs while retrieval of data and inserting records into cache and continuously executing below query using query factory: from the cache in datagrid.
022-05-27 07:05:20,453 ERROR (blocking-thread--p3-t90) [org.infinispan.rest.RestRequestHandler] ISPN012005: An error occurred while responding to the client java.util.concurrent.CompletionException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:659)
at java.util.ArrayList.get(ArrayList.java:435)
at java.util.Collections$UnmodifiableList.get(Collections.java:1311)
at org.infinispan.query.impl.ScrollerIteratorAdaptor.next(ScrollerIteratorAdaptor.java:36)
at org.infinispan.query.core.impl.MappingIterator.updateNext(MappingIterator.java:55)
at org.infinispan.query.core.impl.MappingIterator.hasNext(MappingIterator.java:38)
at org.infinispan.query.core.impl.MappingIterator.updateNext(MappingIterator.java:54)
at org.infinispan.query.core.impl.MappingIterator.hasNext(MappingIterator.java:38)
at org.infinispan.query.core.impl.MappingIterator.updateNext(MappingIterator.java:54)
at org.infinispan.query.core.impl.MappingIterator.hasNext(MappingIterator.java:38)
Environment
- Redhat Datagrid
- 8.3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.