You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/09/27 20:10:57 UTC
[Bug 55605] New: NullPointerException during iteration over CTSheets
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: dev@poi.apache.org
Reporter: dgutierrez@zagile.com
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org