https://bz.apache.org/bugzilla/show_bug.cgi?id=61155
Bug ID: 61155
Summary: Exception "java.lang.RuntimeException: Failed to find
end of row/cell records" when opening a XLS file
Product: POI
Version: 3.16-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 35032
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35032&action=edit
XLS file witch generates exception
Opening the attached XLS file generates the following exception
java.lang.RuntimeException: Failed to find end of row/cell records
at
org.apache.poi.hssf.model.RowBlocksReader.<init>(RowBlocksReader.java:64)
~[poi-3.16.jar:3.16]
at
org.apache.poi.hssf.model.InternalSheet.<init>(InternalSheet.java:216)
~[poi-3.16.jar:3.16]
at
org.apache.poi.hssf.model.InternalSheet.createSheet(InternalSheet.java:157)
~[poi-3.16.jar:3.16]
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:359)
~[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]
This file can be opened without problem in Excel 2013 or OpenOffice Calc 4.1.3.
If either Excel or Calc saves the file(without any updates), then POI can read
it without exceptions.
--
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]