java.lang.IndexOutOfBoundsException: Index -2 out-of-bounds for length 8 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 | 3 weeks ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    POI regression testing report

    apache.org | 3 weeks ago
    java.lang.IndexOutOfBoundsException: Index -2 out-of-bounds for length 4 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 -2 out-of-bounds for length 8 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.hssf.model.InternalWorkbook.getBSERecord()
    2. o.a.p
      HSSFFileHandler.handleFile
      1. o.a.p.hssf.model.InternalWorkbook.getBSERecord(InternalWorkbook.java:2469)
      2. o.a.p.hssf.usermodel.HSSFPicture.getPictureData(HSSFPicture.java:208)
      3. o.a.p.hssf.usermodel.HSSFPicture.getPictureData(HSSFPicture.java:47)
      4. o.a.p.ss.extractor.EmbeddedExtractor$PdfExtractor.canExtract(EmbeddedExtractor.java:220)
      5. o.a.p.ss.extractor.EmbeddedExtractor.extractOne(EmbeddedExtractor.java:89)
      6. o.a.p.ss.extractor.EmbeddedExtractor.extractAll(EmbeddedExtractor.java:125)
      7. o.a.p.ss.extractor.EmbeddedExtractor.extractAll(EmbeddedExtractor.java:102)
      8. o.a.p.stress.SpreadsheetHandler.extractEmbedded(SpreadsheetHandler.java:103)
      9. o.a.p.stress.SpreadsheetHandler.handleWorkbook(SpreadsheetHandler.java:60)
      10. o.a.p.stress.HSSFFileHandler.handleFile(HSSFFileHandler.java:37)
      10 frames
    3. org.dstadler.commoncrawl
      FileHandlingRunnable.run
      1. org.dstadler.commoncrawl.FileHandlingRunnable.run(FileHandlingRunnable.java:64)
      1 frame