Bug 46441 - Class Cast Error (EscherArrayProperty cast to EscherSimpleProperty)
Summary: Class Cast Error (EscherArrayProperty cast to EscherSimpleProperty)
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: 3.2-FINAL
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-27 02:17 UTC by Jie Han
Modified: 2015-01-02 23:00 UTC (History)
1 user (show)



Attachments
The shape is filled with preset color type (20.00 KB, application/octet-stream)
2008-12-27 02:17 UTC, Jie Han
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jie Han 2008-12-27 02:17:14 UTC
Created attachment 23052 [details]
The shape is filled with preset color type

The following is the error message:
-------------------------------------------------
java.lang.ClassCastException: org.apache.poi.ddf.EscherArrayProperty cannot be cast to org.apache.poi.ddf.EscherSimpleProperty

Error occurs in the Shape class at Line:312
-------------------------------------------------

If I set the shape fill type to preset fill color(see attached file) I want to get the shadecolor of the shape the class cast exception thrown.
Comment 1 Andreas Beeker 2015-01-02 23:00:26 UTC
Patch and test applied as part of r1649152

Test-Case: org.apache.poi.hslf.usermodel.TestBugs.bug46441()