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 2009/02/20 03:12:21 UTC
DO NOT REPLY [Bug 46740] New: ClassCastException received in Method
findInsertPosForNewCondFormatTable in Class RecordOrderer
https://issues.apache.org/bugzilla/show_bug.cgi?id=46740
Summary: ClassCastException received in Method
findInsertPosForNewCondFormatTable in Class
RecordOrderer
Product: POI
Version: 3.2-FINAL
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P5
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: bstox@yahoo.com
Created an attachment (id=23283)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23283)
Excel Spreadsheet
I received a classcastedexception when trying to execute the shiftRows method.
I have attached the spreadsheet that caused the problem. All you have to do is
open the workbook, get the sheet and try to shift some rows and you should get
the exception. To fix the problem I just added a try-catch. This seemed to
fix my problem but not sure if the problem isn't elsewhere.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 46740] ClassCastException received in Method
findInsertPosForNewCondFormatTable in Class RecordOrderer
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46740
Josh Micich <jo...@gildedtree.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Josh Micich <jo...@gildedtree.com> 2009-02-19 19:56:46 PST ---
The bug as you describe has already been fixed with bug 46547.
BTW - it's sometimes useful to search for a existing report of your bug:
http://www.google.com/search?q=findInsertPosForNewCondFormatTable+ClassCastException
Your sample spreadsheet has data validations (part of the conditions to cause
bug 46547). POI currently does not adjust data validations during shiftRows().
If the shifted rows don't affect the data validation regions, this will not be
a problem for you. Otherwise, please open a new bugzilla to request that
enhancement.
Data validations is one of several potential adjustments that POI doesn't do
yet. See - bug 46742 for an outline of known deficiencies in shiftRows().
*** This bug has been marked as a duplicate of bug 46547 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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