From post:
2) When using Hierarchial containers but the "displayTotals" is not set, the
code will crash during finalSheetFormat since the hierarchicalTotalsSheet is
not created. By adding a simple null check, this could easily been prevented:
protected void finalSheetFormat() {
final FormulaEvaluator evaluator = workbook.getCreationHelper().createFormulaEvaluator();
if (isHierarchical()) {
...
if (hierarchicalTotalsSheet != null) workbook.removeSheetAt(workbook.getSheetIndex(hierarchicalTotalsSheet));
}
Original issue reported on code.google.com by jnas...@gmail.com on 17 Mar 2012 at 9:54
Original issue reported on code.google.com by
jnas...@gmail.com
on 17 Mar 2012 at 9:54