https://issues.apache.org/bugzilla/show_bug.cgi?id=55605
Bug ID: 55605
Summary: NullPointerException during iteration over CTSheets
Product: POI
Version: 3.8
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Created attachment 30891
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30891&action=edit
Proposed solution to this issue
The problem ocurrs during iteration over CTSheets, in class SheetIterator with
a excel file with macros.
The null pointer exception is thrown when next() function is called.
In next() function:
It seems that
ctSheet.getId();
returns a null or blank value so when
sheetMap.get(sheetId);
is called, it returns null value which causes the Null Pointer Exception in
this line:
return sheetPkg.getInputStream();
Regards
Diego.
--
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]