My Oracle Support Banner

E-IB/AE: Using SyncRequest() with Try / Catch Causes Error "Field does not exist -- STATE_RECORD.FIELD" or "There is no current buffer context." (Doc ID 1291147.1)

Last updated on JULY 05, 2024

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.48 and later
Information in this document applies to any platform.

Symptoms

PeopleTools 8.50.13
Environment Type: Test

The below code causes the AE State Record to become unavailable when SyncRequest is not successfull:

//Code example
try
&MSG2 = &MSG.SyncRequest();
catch Exception &ex
MessageBox(0, "", 0, 0, "Failed Connection Attempt");
end-try;
&MyString=STATERECORD.FIELD;

Error:
--------
Fetch Field: STATE_RECORD.FIELD does not exist.
ErrorReturn-> 104 - Field does not exist -- STATE_RECORD.FIELD (180,104) MY_AE.PROCESS.GBL.default.1900-01-01.Step01.OnExecute Name:CallService PCPC:9295 Statement:115
Called from:MY_AE.PROCESS.GBL.default.1900-01-01.Step01.OnExecute Statement:204

or:

Error:
-------
There is no current buffer context. (2,681)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.