Bug 1251 - ClassCastException in org.globus.ogsa.utils.ServicePropertiesHelper
: ClassCastException in org.globus.ogsa.utils.ServicePropertiesHelper
Status: RESOLVED FIXED
: Java WS Core
globus_ogsi_core
: 3.0beta
: PC All
: P2 blocker
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-10-01 06:41 by
Modified: 2004-05-28 15:48 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-10-01 06:41:35
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
------- Comment #1 From 2003-10-02 00:34:15 -------
A check was added to handle the timeout value either as a String or a Calendar 
type.