For Rules Engine, GetTermInformation Function Generates Error (180,236) When Term Found Output is Set to False (Doc ID 2202387.1)

Last updated on NOVEMBER 09, 2016

Applies to:

PeopleSoft Enterprise CS Campus Community - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

GetTermInformation is a delivered rule which returns information from TERM_TBL. When testing the rule, it works fine if the term information exists.But it generates an error when we provide a institution/career/term combination which does not exist.

ERROR
-----------------------
First operand of . is NULL, so cannot access member toXmlString. (180,236) SCC_RULES_ENGINE.Util.CommonMethods.OnExecute Name:PopulateRecordsFromDataSet PCPC:84835 Statement:1121
1441 Called from:SCC_RULES_ENGINE.Components.SCC_RULE_GOV.SCC_RULE_TEST_SEC.OnExecute Name:SCC_RULE_TS_WRK_SCC_RULE_EXEC_TEST_FieldChange Statement:524
1442 Called from:SCC_RULE_TS_WRK.SCC_RULE_EXEC_TEST.FieldChange Statement:1

The first operand of the dot operator is the NULL value, indicating the lack of any object value. As a consequence, the given method or property cannot be used.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Set up Rules Engine using delivered Rule (type Functions) and Test Data Profile: PSUNV/UGRD/0630.
2. Set Term Found Output to False and make certain a term of 0630 does not exist.
3. Test the rule.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms