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

--- Comment #4 from Sherman Ying <[email protected]> ---
The bug that causes the NullPointerException is in
addDataField(DataConsolidateFunction function, int columnIndex, String
valueFieldName)
It incorrectly calculates the column for the corresponding header cell. Instead
of adding the column offset to the referenced area's first cell column index,
it only uses the column offset.

If the mis-referenced column cell is uninitialized (and the sheet
MissingCellPolicy is to return null), then it will throw a
NullPointerException. Another side-effect is that if there was a non-String
cell value in the mis-referenced cell, it will inadvertently change the cell
type to String.

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