Bugzilla – Bug 1251
ClassCastException in org.globus.ogsa.utils.ServicePropertiesHelper
Last modified: 2004-05-28 15:48:14
You need to
before you can comment on or make changes to this bug.
ServiceSweeperTask and ServicePropertiesHelper have code that assumes
ServiceProperties.TIMEOUT is a Calendar, but a string is found in the properties
collection (gets there directly from the XML parser without conversion into a
Calendar). Removing "<properties name=timeout value=.../>" from the service
description lets proceed.
Solutions: a) change the code to assume it is a String
b) insert value conversion stage between XML parsing and filling the Service
Properties collections; add explicit types in the service properties description
A check was added to handle the timeout value either as a String or a Calendar