poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57994] New: POI fails to open formatted XLS file
Date Wed, 03 Jun 2015 12:08:14 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57994

            Bug ID: 57994
           Summary: POI fails to open formatted XLS file
           Product: POI
           Version: 3.12-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: dev@poi.apache.org
          Reporter: Anton.Egorov@smartbear.com

Created attachment 32789
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32789&action=edit
Problem file

Attempt to open the file attached results in the following exception:

java.lang.RuntimeException: Unexpected record type
(org.apache.poi.hssf.record.StringRecord)
at
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.<init>(RowRecordsAggregate.java:97)
at org.apache.poi.hssf.model.InternalSheet.<init>(InternalSheet.java:166)
at org.apache.poi.hssf.model.InternalSheet.createSheet(InternalSheet.java:121)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:311)
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)

Excel opens the file fine. Also, if you open it in Excel and save it without
any explicit changes, POI will read it fine too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message