java.lang.IllegalArgumentException: newLimit > capacity: (64 > 20) at java.base/java.nio.Buffer.createLimitException(Buffer.java:367) at java.base/java.nio.Buffer.limit(Buffer.java:341) at java.base/java.nio.ByteBuffer.limit(ByteBuffer.java:1094) at java.base/java.nio.ByteBuffer.limit(ByteBuffer.java:260)

apache.org | 1 week 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 | 1 week ago
    java.lang.IllegalArgumentException: newLimit > capacity: (64 > 25) at java.base/java.nio.Buffer.createLimitException(Buffer.java:367) at java.base/java.nio.Buffer.limit(Buffer.java:341) at java.base/java.nio.ByteBuffer.limit(ByteBuffer.java:1094) at java.base/java.nio.ByteBuffer.limit(ByteBuffer.java:260)

    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.IllegalArgumentException

      newLimit > capacity: (64 > 20) at java.base/java.nio.Buffer.createLimitException(Buffer.java:367) at java.base/java.nio.Buffer.limit(Buffer.java:341) at java.base/java.nio.ByteBuffer.limit(ByteBuffer.java:1094) at java.base/java.nio.ByteBuffer.limit(ByteBuffer.java:260)

      at o.a.p.poifs.filesystem.NPOIFSMiniStore.getBlockAt()
    2. o.a.p
      DocumentInputStream.read
      1. o.a.p.poifs.filesystem.NPOIFSMiniStore.getBlockAt(NPOIFSMiniStore.java:81)
      2. o.a.p.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:169)
      3. o.a.p.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:142)
      4. o.a.p.poifs.filesystem.NDocumentInputStream.readFully(NDocumentInputStream.java:248)
      5. o.a.p.poifs.filesystem.NDocumentInputStream.read(NDocumentInputStream.java:150)
      6. o.a.p.poifs.filesystem.DocumentInputStream.read(DocumentInputStream.java:125)
      6 frames