Bug 52990

Summary: java.io.IOException: Cannot remove block[ 113 ]; out of range[ 0 - 112 ]
Product: POI Reporter: vinayys <vinay.yernad>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.8-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   

Description vinayys 2012-03-27 07:02:45 UTC
java.io.IOException: Cannot remove block[ 113 ]; out of range[ 0 - 112 ]
	at org.apache.poi.poifs.storage.BlockListImpl.remove(BlockListImpl.java:98)
	at org.apache.poi.poifs.storage.RawDataBlockList.remove(RawDataBlockList.java:34)
	at org.apache.poi.poifs.storage.BlockAllocationTableReader.<init>(BlockAllocationTableReader.java:109)
	at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:151)
Comment 1 Nick Burch 2012-04-28 17:30:49 UTC
Please re-try with NPOIFSFileSystem, I believe that'll solve your problem

(POIFSFileSystem has a couple of issues with some very edge case files. NPOIFSFileSystem handles these odd files better)