Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15232

Index may receive NegativeArraySizeException

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Several users have reported an error with a stack trace like the following with the upgrade to 14.0.18.Final

      2023-10-11T00:49:50.950-05:00  ERROR 17989 --- [blocking-thread--p3-t96] org.infinispan.persistence.sifs.Index    : Error encountered with index, SIFS may not operate properly.
      
      java.lang.NegativeArraySizeException: -1
              at org.infinispan.persistence.sifs.IndexNode.commonPrefix(IndexNode.java:989)
              at org.infinispan.persistence.sifs.IndexNode.split(IndexNode.java:884)
              at org.infinispan.persistence.sifs.IndexNode.manageLength(IndexNode.java:569)
              at org.infinispan.persistence.sifs.IndexNode.setPosition(IndexNode.java:430)
              at org.infinispan.persistence.sifs.Index$Segment.accept(Index.java:563)
              at org.infinispan.persistence.sifs.Index$Segment.accept(Index.java:456)
              at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65)
              at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$ObserveOnSubscriber.runAsync(FlowableObserveOn.java:404)
              at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:178)
              at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:324)
              at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.runEager(ExecutorScheduler.java:289)
              at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:250)
              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.base/java.lang.Thread.run(Thread.java:833)
      

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: