Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

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)	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.(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)