https://bz.apache.org/bugzilla/show_bug.cgi?id=59355
Bug ID: 59355
Summary: [PATCH] XSSFPivotTable throws NPE when adding a column
Label
Product: POI
Version: unspecified
Hardware: Macintosh
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
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
cell.
--
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]