My Oracle Support Banner

Errors In Oracle Service Bus 12.2.1.4 "unbound external variable" "OSB-382520 Unexpected error executing if-then-else expression" (Doc ID 2664902.1)

Last updated on MAY 10, 2023

Applies to:

Oracle Service Bus - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.4.0 version, OSB Core Functionality

Strange errors in Oracle Service Bus 12.2.1.4.

On a previously working code that was exported from an 11g (11.1.1.7) OSB domain and imported into the 12c domain we can observe this 2 errors

1. "OSB-382520 Unexpected error executing if-then-else expression".

It seems to happen randomly, under load in perhaps 1 out of several hundred requests. We can run the same identical request through again and it does not occur.

2. The second error is “{bea-err}VAR001: "$xxx": unbound external variable” Where XXX is a variable that has definitely been set prior to where it fails, sometimes even one of the system variable such as $body, $inbound, etc. Even if it wasn’t set, in the past this would evaluate the empty string. Once again, this happens randomly and you can run identical transaction that work, and some that don’t.


ERROR
-----------------------
{bea-err}VAR001: "$xxx": unbound external variable, OSB-382520 Unexpected error executing if-then-else expression
"OSB-382520 Unexpected error executing if-then-else expression"

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.