My Oracle Support Banner

Receiving 'Failed to Execute Expression GlobalScreenMath:IsLeader = true at location' Message When Using Multifields to Access A Transaction's Global ScreenMath (Doc ID 2759449.1)

Last updated on MARCH 15, 2021

Applies to:

Oracle Insurance Policy Administration J2EE - Version and later
Information in this document applies to any platform.


On : version, General

Following an upgrade from OIPA 10.2 to OIPA,
when a transaction contains the following items, the system returns exception errors:

The first time the Multifield tries to access the Global SscreenMath, it works (onload).
The second time it tries to access it (when you change the number of entries from 0 to 1 or 5 to 6 for example), the following error is reported:

Caused by: java.lang.RuntimeException: Could not convert types from class java.util.LinkedHashMap to String[].
at com.adminserver.utl.TypeHelperUtl.getStringArray(
at com.adminserver.math.context.MathExecutionContext.getTextArrayValue(

The same error appends for multiple datatypes: example with a boolean :
Caused by: com.adminserver.utl.exception.AsExceptionUtl: Failed to execute expression GlobalScreenMath:IsLeader = true at location RuleElementLocation[Entity=BusinessRules,GUID=ACB2CAB2-3588-0B36-E054-020820F895DB,XPath=/CopyBook/Condition[1]].
at com.adminserver.sre.bll.generatedClasses.OnLoadProcessor_ActivityDetailScreen_MultiField_2d4486b523d3e14fa7f5c55c635d932b.processEvents(OnLoadProcessor_ActivityDetailScreen_MultiField_2d4486b523d3e14fa7f5c55c635d932b:218)
at com.adminserver.sre.bll.generatedClasses.OnLoadProcessor_ActivityDetailScreen_MultiField_2d4486b523d3e14fa7f5c55c635d932b.processLoad(OnLoadProcessor_ActivityDetailScreen_MultiField_2d4486b523d3e14fa7f5c55c635d932b:41)
at com.adminserver.sre.bll.ScreenEventBll.processLoad(
... 71 more
Caused by: com.adminserver.utl.exception.EngineException: Comparison operation on OBJECT and BOOLEAN not allowed.
at com.adminserver.math.engine.CalculationOperators.eq(

It feels like OIPA actually loose it's reference to the transaction variables after the first screen loading.

The issue can be reproduced at will with the following steps:
1. Create a transaction with the following characteristics:

- Contains a global math section.
- Contains MultiFields
- Multifields references a variable in the global math section of the transaction

2. Try to add an entry to the Multifields when filling the transaction information.


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

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