https://issues.apache.org/bugzilla/show_bug.cgi?id=47251
--- Comment #14 from Yegor Kozlov <[email protected]> 2012-03-21 15:02:49 UTC --- Make sure you are using the latest release of POI. I have no problems reading /writing the attached test file with the latest POI-3.8. If you still have the exception, please attach the problematic file. Without a test we can't do much. Yegor (In reply to comment #13) > Same problem with the test release: > > Exception in thread "main" > org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException: > Initialisation of record 0x10 left 8 bytes remaining still to be read. > at > org.apache.poi.hssf.record.RecordInputStream.hasNextRecord(RecordInputStream.java:156) > at > org.apache.poi.hssf.record.RecordFactoryInputStream.nextRecord(RecordFactoryInputStream.java:231) > at > org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:443) > at > org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:285) > at > org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:248) > at > org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:192) > at > org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:327) > at > org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:308) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
