A fix is available
APAR status
Closed as program error.
Error description
RFT8201 iFix001 Win XP3 Datapool Class: DatapoolScriptSupport Method: dpShort According to API Reference, java doc said that: public int dpShort( java.lang.String variableName, short defaultValue) Shortcut to the short value in the cell in the current record and the specified variable name is returned. If the specified variable name is not present or the datapool is not present, the default value that is passed is returned. If the value in the cell is not a short value then an attempt is made to convert the value to a short before being returned. If the value can not be converted a java.lang.NumberFormatException will be thrown. This is a defect in the RFT API. The following API has same problem and they are fixed. dpBoolean(java.lang.String variableName, boolean defaultValue) dpByte(java.lang.String variableName, byte defaultValue) dpChar(java.lang.String variableName, char defaultValue) dpDouble(java.lang.String variableName, double defaultValue) dpFloat(java.lang.String variableName, float defaultValue) dpInt(java.lang.String variableName, int defaultValue) dpLong(java.lang.String variableName, long defaultValue) dpShort(java.lang.String variableName, short defaultValue) dpString(java.lang.String variableName, java.lang.String defaultValue) dpValue(java.lang.String variableName, java.lang.Object value)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Modified DatapoolScriptSupport.java to catch the appropriate exception as "org.eclipse.hyades.execution.runtime.datapool.DatapoolExcep tion"
Problem conclusion
Modified DatapoolScriptSupport.java to catch the appropriate exception as "org.eclipse.hyades.execution.runtime.datapool.DatapoolExcep tion"
Temporary fix
Comments
APAR Information
APAR number
PM37123
Reported component name
RAT FUNC TESTER
Reported component ID
5724G2503
Reported release
820
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-04-15
Closed date
2011-06-29
Last modified date
2011-06-29
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RAT FUNC TESTER
Fixed component ID
5724G2503
Applicable component levels
R820 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSJMXE","label":"Rational Functional Tester"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.2","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
27 October 2021