ClassCastException in ResourcePool when attempting a clear operation
--------------------------------------------------------------------
Key: GEOS-4797
URL: https://jira.codehaus.org/browse/GEOS-4797
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.1.x, 2.2.x
Reporter: Simone Giannecchini
Assignee: Andrea Aime
Attachments: patch
During some tests with large ingestions I tried to use the clear resources feature in GeoServer and I got a nasty ClassCastException from the ResourcePool Class. It seems that a CoverageStore rather than a CoverageHintReaderKey was used to cache GridCoverageReaders. I am attaching a patch that shows what I did to continue my tests.
I believe the patch does not represent a valid fix but rather a workaround. As far as I understand we should not find ourselves in this situation which means that somewhere else we are using a wrong key for the cache or actually th wron cache.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira