https://issues.apache.org/bugzilla/show_bug.cgi?id=54588

            Bug ID: 54588
           Summary: CellFormat throws NPE for some other things that occur
                    in cell formats
           Product: POI
           Version: 3.7
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

This is something we're seeing in customer data.

    @Test
    public void testCellFormat() {
        CellFormat format = CellFormat.getInstance("_(*\"-\"??_);");
        // not sure if this assertion is right, but we'll figure that out once
        // the call completes without throwing an exception...
        assertThat(format.apply(135.45).text, is(equalTo("135.45")));
    }

I can't figure out what's specifically wrong with the format but I don't know
what this format means, either. If someone figures out what it is, perhaps the
bug summary could be made more specific.

Possibly related to Bug 53494, although in the case of that one, I can
reproducibly show that it's the locale code causing it. In this case, there is
no locale code, but there is other stuff which I don't know what it is.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to