You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2010/12/07 16:07:02 UTC

DO NOT REPLY [Bug 50426] New: RuntimeException: Unexpected record type (org.apache.poi.hssf.record.GutsRecord)

https://issues.apache.org/bugzilla/show_bug.cgi?id=50426

           Summary: RuntimeException: Unexpected record type
                    (org.apache.poi.hssf.record.GutsRecord)
           Product: POI
           Version: 3.7
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: apeeters@lashout.net


The document in attachment generates a RuntimeException: Unexpected record type
(org.apache.poi.hssf.record.GutsRecord) when opened using Apache POI 3.7.

java.lang.RuntimeException: Unexpected record type
(org.apache.poi.hssf.record.GutsRecord)
    at
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.<init>(RowRecordsAggregate.java:103)
    at org.apache.poi.hssf.model.InternalSheet.<init>(InternalSheet.java:207)
    at
org.apache.poi.hssf.model.InternalSheet.createSheet(InternalSheet.java:162)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:274)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:188)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:305)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:286)
    at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:60)

Excel opens the file without problems.

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50426] RuntimeException: Unexpected record type (org.apache.poi.hssf.record.GutsRecord)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50426

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Nick Burch <ni...@alfresco.com> 2010-12-07 19:31:22 EST ---
Do you know how the file was produced? Did it come from Excel or some other
program?

If you load the file in excel, do save as to create a new file, does POI hit
the same problem on the new file or does it go away?

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50426] RuntimeException: Unexpected record type (org.apache.poi.hssf.record.GutsRecord)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50426

--- Comment #1 from apeeters@lashout.net 2010-12-07 10:08:19 EST ---
Created an attachment (id=26378)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26378)
xls file to reproduce exception

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50426] RuntimeException: Unexpected record type (org.apache.poi.hssf.record.GutsRecord)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50426

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Yegor Kozlov <ye...@dinom.ru> 2010-12-11 08:48:31 EST ---
Fixed in r1044655, junit added.

Yegor

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50426] RuntimeException: Unexpected record type (org.apache.poi.hssf.record.GutsRecord)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50426

apeeters@lashout.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from apeeters@lashout.net 2010-12-08 03:56:44 EST ---
The file comes from an external program. Opening and saving using Excel solves
the problem.

I can also open the file without any problems in OpenOffice and Apple Numbers.
The latter gives me a warning about frozen panes and split windows and the
second tab is empty.

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50426] RuntimeException: Unexpected record type (org.apache.poi.hssf.record.GutsRecord)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50426

apeeters@lashout.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apeeters@lashout.net
         OS/Version|                            |All

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org