Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 7547 invoked from network); 24 Nov 2009 08:39:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 08:39:11 -0000 Received: (qmail 67900 invoked by uid 500); 24 Nov 2009 08:39:11 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 67857 invoked by uid 500); 24 Nov 2009 08:39:10 -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 67847 invoked by uid 99); 24 Nov 2009 08:39:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 08:39:10 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Tue, 24 Nov 2009 08:39:07 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id A5891234C04C; Tue, 24 Nov 2009 00:38:47 -0800 (PST) From: bugzilla@apache.org To: dev@poi.apache.org Subject: DO NOT REPLY [Bug 48269] New: [PATCH] Exception occurs while try getErrorCellString() from XSSFCell X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: XSSF X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Petr.Udalau@exigenservices.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: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 24 Nov 2009 00:38:47 -0800 (PST) https://issues.apache.org/bugzilla/show_bug.cgi?id=48269 Summary: [PATCH] Exception occurs while try getErrorCellString() from XSSFCell Product: POI Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: XSSF AssignedTo: dev@poi.apache.org ReportedBy: Petr.Udalau@exigenservices.com When we try get error code from the cell with contains formula that returns Error we get exception: java.lang.IllegalStateException: Cannot get a error value from a formula cell at org.apache.poi.xssf.usermodel.XSSFCell.typeMismatch(XSSFCell.java:781) at org.apache.poi.xssf.usermodel.XSSFCell.getErrorCellString(XSSFCell.java:580) at org.apache.poi.xssf.usermodel.XSSFCell.getErrorCellValue(XSSFCell.java:596) It is caused by wrong type identification in method getErrorCellString(). Solution for this problem and simle test see in attachment. -- 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