Hello, Not to my knowledge no because the original poster of the question never submitted a further reply.
Have you tried to open the file directly - creating a simplt FileInputStream attached directly to the file for example - to see whether POI responds in the same way or if it opens the file? What is the source of the file - was it generated by Excel or some other piece of software? Yours Mark B anjsag wrote: > > Well, I am also getting an exception like this with jboss-4.2.2.GA > ,poi-3.5-beta6 , jdk1.5.0_14 > > Where u able to figure out the reason ? Any answer for this solution > > stack trace > > 10:58:25,544 ERROR [STDERR] Caused by: java.io.IOException: block[ 10 ] > already > removed - does your POIFS have circular or duplicate block references? > 10:58:25,544 ERROR [STDERR] at > org.apache.poi.poifs.storage.BlockListImpl.re > move(BlockListImpl.java:105) > 10:58:25,544 ERROR [STDERR] at > org.apache.poi.poifs.storage.RawDataBlockList > .remove(RawDataBlockList.java:32) > 10:58:25,544 ERROR [STDERR] at > org.apache.poi.poifs.storage.BlockAllocationT > ableReader.fetchBlocks(BlockAllocationTableReader.java:198) > 10:58:25,544 ERROR [STDERR] at > org.apache.poi.poifs.storage.BlockListImpl.fe > tchBlocks(BlockListImpl.java:140) > 10:58:25,544 ERROR [STDERR] at > org.apache.poi.poifs.storage.RawDataBlockList > .fetchBlocks(RawDataBlockList.java:32) > 10:58:25,544 ERROR [STDERR] at > org.apache.poi.poifs.filesystem.POIFSFileSyst > em.processProperties(POIFSFileSystem.java:541) > 10:58:25,544 ERROR [STDERR] at > org.apache.poi.poifs.filesystem.POIFSFileSyst > em.<init>(POIFSFileSystem.java:176) > 10:58:25,544 ERROR [STDERR] at > org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:318) > > Anjsag > -- View this message in context: http://old.nabble.com/exception-when-inputstream-is-read-from-getClass%28%29.getClassLoader%28%29.getResourceAsStream%28%22file.xls%22%29-tp26406348p29163211.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org