java.lang.IndexOutOfBoundsException: Can't read past the end of the stream

apache.org | 1 month 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 | 1 month ago
    java.lang.IndexOutOfBoundsException: Can't read past the end of the stream

    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

      Can't read past the end of the stream

      at o.a.p.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next()
    2. o.a.p
      IOUtils.toByteArray
      1. o.a.p.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:164)
      2. o.a.p.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:142)
      3. o.a.p.poifs.filesystem.NDocumentInputStream.readFully(NDocumentInputStream.java:248)
      4. o.a.p.poifs.filesystem.NDocumentInputStream.read(NDocumentInputStream.java:150)
      5. o.a.p.poifs.filesystem.DocumentInputStream.read(DocumentInputStream.java:125)
      6. o.a.p.util.IOUtils.toByteArray(IOUtils.java:100)
      7. o.a.p.util.IOUtils.toByteArray(IOUtils.java:88)
      7 frames