poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59355] New: [PATCH] XSSFPivotTable throws NPE when adding a column Label
Date Tue, 19 Apr 2016 15:04:59 GMT

            Bug ID: 59355
           Summary: [PATCH] XSSFPivotTable throws NPE when adding a column
           Product: POI
           Version: unspecified
          Hardware: Macintosh
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: idiotioc@gmail.com

Created attachment 33778
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33778&action=edit
1 Line Patch Correction

When the XSSFPivotTable is created with a source data area not starting from
column index 0, adding a column label can throw an NPE when trying to change
the column header cell style to String.

>From investigation, it appears that the method private void
addDataField(DataConsolidateFunction function, int columnIndex, String
valueFieldName) incorrectly calculates the column for the corresponding header

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