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

apache.org | 4 days ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    POI regression testing report

    apache.org | 4 days 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