Bug 52990 - java.io.IOException: Cannot remove block[ 113 ]; out of range[ 0 - 112 ]
Summary: java.io.IOException: Cannot remove block[ 113 ]; out of range[ 0 - 112 ]
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.8-dev
Hardware: PC Windows Vista
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 07:02 UTC by vinayys
Modified: 2012-04-28 17:30 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)