java.lang.IndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.IndexOutOfBoundsException: Block 33 not found at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.getBlockAt(NPOIFSFileSystem.java:486) at org.apache.poi.poifs.filesystem.NPOIFSStream$StreamBlockByteBufferIterator.next(NPOIFSStream.java:169) 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:125) at org.apache.poi.hpsf.PropertySet.isPropertySetStream(PropertySet.java:336) at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:241) at org.apache.poi.hpsf.PropertySetFactory.create(PropertySetFactory.java:92) at org.apache.poi.POIDocument.getPropertySet(POIDocument.java:211) at org.apache.poi.POIDocument.getPropertySet(POIDocument.java:168) at org.apache.poi.POIDocument.readProperties(POIDocument.java:141) at org.apache.poi.POIDocument.getSummaryInformation(POIDocument.java:108) at org.apache.poi.POIDocument.writeProperties(POIDocument.java:260) at org.apache.poi.hssf.usermodel.HSSFWorkbook.write(HSSFWorkbook.java:1377) at model.main.organizeSheets(main.java:377) at model.main.main(main.java:42) Caused by: java.lang.IndexOutOfBoundsException: Unable to read 512 bytes from 17408 in stream of length -1 at org.apache.poi.poifs.nio.ByteArrayBackedDataSource.read(ByteArrayBackedDataSource.java:42) at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.getBlockAt(NPOIFSFileSystem.java:484) ... 16 more
No Bugmate found.