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 45639] ArrayIndexOutOfBoundsException in the HSSFSheet.groupColumn
Date Wed, 10 Sep 2008 13:09:44 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45639





--- Comment #1 from Olaf Diehl <O.Diehl@proPlant.de>  2008-09-10 06:09:44 PST ---
A simple patch is to comment out the performance tuning with fromIdx in
ColumnInfoRecordsAggregate.groupColumnRange(short fromColumn, short toColumn,
boolean indent). It does not work because the column records are NOT ordered by
column no:

// taken from 3.1 FINAL
org.apache.poi.hssf.record.aggregates.ColumnInfoRecordsAggregate:

    public void groupColumnRange(short fromColumn, short toColumn, boolean
indent)
    {
      ...
// OD bug fix: records NOT ordered by column no
//                fromIdx = columnIdx - 1; // subtract 1 just in case this
column is collapsed later.
      ...
    }


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