https://bz.apache.org/bugzilla/show_bug.cgi?id=57880

            Bug ID: 57880
           Summary: Writing negative cellStyleIndex into sheet1.xml
           Product: POI
           Version: 3.11-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 32710
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32710&action=edit
Java code

When creating large excel file and creating more than 32,767 (MAX VALUE for
short) cellStyles, POI writes into sheet1.xml file negative values for that
index: next after 32,767 comes -32,768, then -32,767, -32,766, etc...
This creates corrupted xlsx file.

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