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

--- Comment #3 from Sean Smitz <[email protected]> ---
final FormulaEvaluator evaluator =
wb.getCreationHelper().createFormulaEvaluator();
for (int i = 0; i < wb.getNumberOfNames(); i++) {
    Name name = wb.getNameAt(i);
    try {
        if (!ignoreNamedRanges.contains(name.getNameName()) &&
!name.getRefersToFormula().equals("#REF!") &&
name.getSheetName().equals(getTitle())) {
                    namedRanges.add(new NamedRange(name, sheet, evaluator));
        }
    } catch (IllegalArgumentException e) {
                // TODO: Add logging.
    }
}


name.getSheetName() in the if-statement throws the exception.

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