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 48269] New: [PATCH] Exception occurs while try getErrorCellString() from XSSFCell
Date Tue, 24 Nov 2009 08:38:47 GMT

           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)

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

View raw message