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 46009] Cloning sheet with merged region causes ArrayStoreException when saving.
Date Wed, 15 Oct 2008 17:51:22 GMT

David Agnew <prescindor@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |prescindor@gmail.com

--- Comment #1 from David Agnew <prescindor@gmail.com>  2008-10-15 10:51:21 PST ---
If you clone a sheet with a merged region and then call getMergedRegion on the
clone, it falls over at line 111 in MergedCellsTable with a ClassCastException
trying to return a value retrieved from an internal ArrayList as a

java.lang.ClassCastException: org.apache.poi.ss.util.CellRangeAddress
org/apache/poi/hssf/record/aggregates/MergedCellsTable.java:111:in `get'
org/apache/poi/hssf/model/Sheet.java:506:in `getMergedRegionAt'
org/apache/poi/hssf/usermodel/HSSFSheet.java:674:in `getMergedRegion'

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

View raw message