java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) at java.base/java.util.Objects.checkIndex(Objects.java:371) at java.base/java.util.ArrayList.get(ArrayList.java:439)

apache.org | 1 week ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    POI regression testing report

    apache.org | 1 week ago
    java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) at java.base/java.util.Objects.checkIndex(Objects.java:371) at java.base/java.util.ArrayList.get(ArrayList.java:439)

    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 out-of-bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) at java.base/java.util.Objects.checkIndex(Objects.java:371) at java.base/java.util.ArrayList.get(ArrayList.java:439)

      at o.a.p.poifs.storage.BATBlock.getSBATBlockAndIndex()
    2. o.a.p
      DocumentInputStream.read
      1. o.a.p.poifs.storage.BATBlock.getSBATBlockAndIndex(BATBlock.java:289)
      2. o.a.p.poifs.filesystem.NPOIFSMiniStore.getBATBlockAndIndex(NPOIFSMiniStore.java:140)
      3. o.a.p.poifs.filesystem.NPOIFSMiniStore.getNextBlock(NPOIFSMiniStore.java:149)
      4. o.a.p.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:170)
      5. o.a.p.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:142)
      6. o.a.p.poifs.filesystem.NDocumentInputStream.readFully(NDocumentInputStream.java:248)
      7. o.a.p.poifs.filesystem.NDocumentInputStream.read(NDocumentInputStream.java:150)
      8. o.a.p.poifs.filesystem.DocumentInputStream.read(DocumentInputStream.java:125)
      8 frames