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 2012/05/22 18:18:28 UTC
[Bug 53271] New: Remove unconditional assert in
SXSSFRow.getCell(int, MissingCellPolicy)
https://issues.apache.org/bugzilla/show_bug.cgi?id=53271
Priority: P2
Bug ID: 53271
Assignee: dev@poi.apache.org
Summary: Remove unconditional assert in SXSSFRow.getCell(int,
MissingCellPolicy)
Severity: normal
Classification: Unclassified
Reporter: adam@labkey.com
Hardware: PC
Status: NEW
Version: 3.8
Component: SXSSF
Product: POI
The first line of this method is:
assert false;
...which makes it unusable when asserts are enabled.
Per Yegor Kozlov, "This particular assert means that SXSSFRow.getCell(int,
MissingCellPolicy) is not yet covered by unit tests and *may* not be compatible
with XSSF. This line will be removed in the future. Can you create a request in
POI Bugzilla so that we don't forget about it?"
FWIW, I've switched to SXSSF in our application (LabKey Server) and disabled
asserts, and our use of this method seems to work fine.
Workaround is to disable asserts, for example:
SXSSFRow.class.getClassLoader().setClassAssertionStatus(SXSSFRow.class.getName(),
false);
--
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
[Bug 53271] Remove unconditional assert in SXSSFRow.getCell(int,
MissingCellPolicy)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53271
Yegor Kozlov <ye...@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
OS| |All
--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> ---
Fixed in r1342604
Yegor
--
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