https://bz.apache.org/bugzilla/show_bug.cgi?id=60833
--- Comment #7 from lintongchuan <[email protected]> --- (In reply to lintongchuan from comment #5) > I have the same exception when reading xls file > the stack trace > org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException: > Initialisation of record 0x31(FontRecord) left 4 bytes remaining still to be > read. > at > org.apache.poi.hssf.record.RecordInputStream.hasNextRecord(RecordInputStream. > java:177) ~[poi-3.16.jar:3.16] > at > org.apache.poi.hssf.record.RecordFactoryInputStream. > nextRecord(RecordFactoryInputStream.java:234) ~[poi-3.16.jar:3.16] > at > org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java: > 494) ~[poi-3.16.jar:3.16] > at > org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:348) > ~[poi-3.16.jar:3.16] > at > org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:99) > ~[poi-ooxml-3.16.jar:3.16] > at > org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:182) > ~[poi-ooxml-3.16.jar:3.16] > at > org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:144) > ~[poi-ooxml-3.16.jar:3.16] There is no problem opening the file using Microsoft Excel on Mac operating system, when I open the excel file using Microsoft Excel , then save it as another file, another file can be correctly read and process. -- 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]
