I get the following stacktrace on a valid OLE file (MS Project): java.io.IOException: Cannot remove block[ 330 ]; out of range at org.apache.poi.poifs.storage.BlockListImpl.remove (BlockListImpl.java:103) at org.apache.poi.poifs.storage.BlockAllocationTableReader.fetchBlocks (BlockAllocationTableReader.java:190) at org.apache.poi.poifs.storage.BlockListImpl.fetchBlocks (BlockListImpl.java:128) at org.apache.poi.poifs.eventfilesystem.POIFSReader.processProperties (POIFSReader.java:275) at org.apache.poi.poifs.eventfilesystem.POIFSReader.processProperties (POIFSReader.java:228) at org.apache.poi.poifs.eventfilesystem.POIFSReader.processProperties (POIFSReader.java:228) at org.apache.poi.poifs.eventfilesystem.POIFSReader.read (POIFSReader.java:95)
Created attachment 21881 [details] Proposed fix It is as I thought, removing that one line makes all our files parse correctly.
My apologies, the attachment I just put up was really for Bug 44898, but the bugs are very similar and it would be interesting to see if it fixes the problem.
*** This bug has been marked as a duplicate of bug 44898 ***