poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45717] New: On sheet creation from scratch at HSSFRow.createCell(): IllegalStateException: Cannot create value records before row records exist
Date Sun, 31 Aug 2008 13:55:48 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45717

           Summary: On sheet creation from scratch at HSSFRow.createCell():
                    IllegalStateException: Cannot create value records
                    before row records exist
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: c.gosch@inovex.de


On creating a new sheet from scratch, "IllegalStateException: Cannot create
value records before row records exist" is thrown when creating the first cell
using "HSSFCell cell = ((HSSFRow)row).createCell((short)0);" (after creating
workbook, sheet, row).

This happens for example when applying some basic sheet formatting and print
setup after creating the row and before actually creating the cell at the row.
It is not known which precondition is exactly required for reproducing the bug.

An example (simple JUnit test class) is attached to this bug. The stack trace
is inside the exapmle file.

Testing environment was:
IBM WebSphere 6.0.2.19 / IBM JRE 1.4.2 on WinXP-Pro SP3 and on a Linux system;
POI 3.1-FINAL-20080629

The test class was build and "tested" using Eclipse 3.4 Ganymede "EE" with the
JRE being setup to the mentioned IBM JRE 1.4.2.

There is a bug the may be related and was fixed for 3.1-FINAL-20080629: It is
45145 (https://issues.apache.org/bugzilla/show_bug.cgi?id=45145).

Regards,
-- 
c.gosch


-- 
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


Mime
View raw message