Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 37727 invoked from network); 15 Oct 2008 17:51:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2008 17:51:44 -0000 Received: (qmail 11516 invoked by uid 500); 15 Oct 2008 17:51:44 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 11493 invoked by uid 500); 15 Oct 2008 17:51:44 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 11482 invoked by uid 99); 15 Oct 2008 17:51:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2008 10:51:44 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2008 17:50:45 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 75FD1234C224; Wed, 15 Oct 2008 10:51:22 -0700 (PDT) From: bugzilla@apache.org To: dev@poi.apache.org Subject: DO NOT REPLY [Bug 46009] Cloning sheet with merged region causes ArrayStoreException when saving. X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: HSSF X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: prescindor@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20081015175122.75FD1234C224@brutus.apache.org> Date: Wed, 15 Oct 2008 10:51:22 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46009 David Agnew changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prescindor@gmail.com --- Comment #1 from David Agnew 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 CellRangeAddress. 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