poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53494] New: CellFormat throws NPE for date formats with locale codes
Date Mon, 02 Jul 2012 02:36:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53494

          Priority: P2
            Bug ID: 53494
          Assignee: dev@poi.apache.org
           Summary: CellFormat throws NPE for date formats with locale
                    codes
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: trejkaz@trypticon.org
          Hardware: PC
            Status: NEW
           Version: 3.8
         Component: HSSF
           Product: POI

A cell format such as:

    [$-409]mmmm dd yyyy  h:mm AM/PM

should format explicitly in English. A cell format such as:

    [$-804]mmmm dd yyyy  h:mm AM/PM

should format in Chinese (although in an inappropriate order for Chinese.)

When I do this using POI though, CellFormat.apply(double) or
CellFormat.apply(Cell) throw NullPointerException for both formats.

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