https://issues.apache.org/bugzilla/show_bug.cgi?id=57104
Bug ID: 57104
Summary: org.apache.poi.hssf.record.RecordInputStream$LeftoverD
ataException: Initialisation of record 0x5B left 1
bytes remaining still to be read.
Product: POI
Version: 3.10-FINAL
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
Assignee: [email protected]
Reporter: [email protected]
I am trying to read from a Microsoft Excel 97-2003 Worksheet. There is no
problem opening the file using Microsoft Excel or Open Office. poi can read the
file once the file is opened and saved again in the same format. But i cannot
implement this practice for each file I encounter. I cannot attach the
problematic file because it has client information. Please help me with this.
The error I get is as follows:
org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException:
Initialisation of record 0x5B left 1 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:480)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:301)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:264)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:199)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:342)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:323)
--
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]