Bug 54016

Summary: Unexpected record type (org.apache.poi.hssf.record.DConRefRecord)
Product: POI Reporter: rvandersanden
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.8-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: Spreadsheet that cannot be read by POI 3.8.

Description rvandersanden 2012-10-17 06:03:04 UTC
Created attachment 29491 [details]
Spreadsheet that cannot be read by POI 3.8.

A RuntimeException occurs reading the attached spreadsheet.

java.lang.RuntimeException: Unexpected record type (org.apache.poi.hssf.record.DConRefRecord)
	at org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.<init>(RowRecordsAggregate.java:107)
	at org.apache.poi.hssf.model.InternalSheet.<init>(InternalSheet.java:208)
	at org.apache.poi.hssf.model.InternalSheet.createSheet(InternalSheet.java:163)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:296)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:248)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:192)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:327)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:308)
Comment 1 Yegor Kozlov 2012-10-26 12:22:34 UTC
Fixed in r1402482. I included your sample in our collection of test files.

Yegor
Comment 2 rvandersanden 2012-10-30 00:32:26 UTC
I have tested this and confirm that the problem is fixed.  Thanks for your support.