https://issues.apache.org/bugzilla/show_bug.cgi?id=57080

--- Comment #5 from PJ Fanning <[email protected]> ---
With NPOIFSFileSystem, I get:
java.lang.IndexOutOfBoundsException: Can't read past the end of the stream
    at
org.apache.poi.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:164)
    at
org.apache.poi.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:142)
    at
org.apache.poi.poifs.filesystem.NDocumentInputStream.readFully(NDocumentInputStream.java:248)
    at
org.apache.poi.poifs.filesystem.NDocumentInputStream.read(NDocumentInputStream.java:150)
    at
org.apache.poi.poifs.filesystem.DocumentInputStream.read(DocumentInputStream.java:118)
    at
org.apache.poi.poifs.filesystem.DocumentInputStream.read(DocumentInputStream.java:114)
    at javax.crypto.CipherInputStream.getMoreData(CipherInputStream.java:103)
    at javax.crypto.CipherInputStream.read(CipherInputStream.java:224)
    at org.apache.poi.util.BoundedInputStream.read(BoundedInputStream.java:121)
    at org.apache.poi.util.BoundedInputStream.read(BoundedInputStream.java:103)
    at org.apache.poi.util.IOUtils.toByteArray(IOUtils.java:48)
    at test.PoiTest.decrypt(PoiTest.java:22)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to