https://issues.apache.org/bugzilla/show_bug.cgi?id=46213
Summary: org.apache.poi.hssf.record.RecordFormatException: String
record was supplied but formula record flag is not set
Product: POI
Version: 3.2-FINAL
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P1
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
When I read the workbook with the object made by the POI and a patch file in
svn r713852 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=713852 ). I try
to new HSSFWorkbook with that file, it throws
RecordFormatException.
the sample workbook is attached.
And this is detail exception:
Exception in thread "main" org.apache.poi.hssf.record.RecordFormatException:
String record was supplied but formula record flag is not set
at
org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate.<init>(FormulaRecordAggregate.java:51)
at
org.apache.poi.hssf.record.aggregates.ValueRecordsAggregate.construct(ValueRecordsAggregate.java:159)
at
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.<init>(RowRecordsAggregate.java:89)
at org.apache.poi.hssf.model.Sheet.<init>(Sheet.java:199)
at org.apache.poi.hssf.model.Sheet.createSheet(Sheet.java:161)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:282)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
at com.sds.util.AceParser.main(AceParser.java:55)
--
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]