gospodin
gospodin

Reputation: 1211

JXL + POI : incompatibility

Im first using JXL to modify one xls file created by POI. After that I will try to read that file with POI. In the moment of POIFSFileSystem creation

 poFileSystem = new POIFSFileSystem(input);

Im getting the exception

 java.io.IOException: block[ 907 ] already removed - does your POIFS have circular or duplicate block references?

Is this a compatibility problem between those 2 libraries or something else? Im using POI ver 3.6 and latest version of JXL.

Thanks

Upvotes: 0

Views: 1505

Answers (1)

gospodin
gospodin

Reputation: 1211

changing POIFSFileSystem to NPOIFSFileSystem solved my problem.

Upvotes: 1

Related Questions