My Oracle Support Banner

When Adding New Advisor Role Reports 'Failed To Generate OnLoad Event Processor' Message (Doc ID 2858932.1)

Last updated on MARCH 31, 2022

Applies to:

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

Symptoms

On : 11.3.0.11 version, General

When adding a new Advisor Role, the config crashes in V11.
In V10 when adding the Advisor Role, the ClientTypeCode is defined in the OnLoad and works as expected.
However under V11, the ClientTypeCode is not defined and this results in the following message:


ERROR
-----------------------
java.lang.RuntimeException: com.adminserver.utl.exception.AsExceptionUtl: Failed to generate OnLoad event processor.
at com.adminserver.pas.uip.aspects.UipExtensibilityAspect.extendUipMethod(UipExtensibilityAspect.java:65)
at com.adminserver.pas.uip.RoleUip.processRoleCodeSelection(RoleUip.java:1820)
at com.oracle.pas.page.RolePage.processAddRoleFindClientCodeChange(RolePage.java:346)
at com.oracle.pas.service.delegate.PolicyRoleServiceDelegate.getRoleDetailsForDisplayRoleFields(PolicyRoleServiceDelegate.java:416)
at com.oracle.pas.service.PolicyRoleService.getRoleDetailsForDisplayRoleFields(PolicyRoleService.java:270)
at sun.reflect.GeneratedMethodAccessor2725.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
... 67 more
Caused by: com.adminserver.utl.exception.AsExceptionUtl: Failed to execute expression ClientTypeCode = '02' at location RuleElementLocation[Entity=BusinessRules,GUID=A5C93170-12B3-4611-AE96-18BD5261292D,XPath=/CopyBook/Condition[1],CopyBook=A2AD12ED-7416-4153-BA6B-53FC6EC18772].
at com.adminserver.sre.bll.generatedClasses.OnLoadProcessor_RoleScreen_5cbd1a9e92cd813a5dfc649011da9760.processEvents(Unknown Source)
at com.adminserver.sre.bll.generatedClasses.OnLoadProcessor_RoleScreen_5cbd1a9e92cd813a5dfc649011da9760.processLoad(Unknown Source)
at com.adminserver.sre.bll.ScreenEventBll.processLoad(ScreenEventBll.java:131)
... 74 more
Caused by: com.adminserver.utl.exception.EngineException: Could not find definition for variable: ClientTypeCode.
at com.adminserver.math.dcl.MathCalculationDcl.getVariableDcl(MathCalculationDcl.java:615)
at com.adminserver.math.dcl.MathCalculationDcl.getObjectValue(MathCalculationDcl.java:540)
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldObjectValue(MathExecutionContext.java:821)
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldObjectValue(MathExecutionContext.java:799)
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldObjectValue(MathExecutionContext.java:787)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create FPRA policy -> Add Advisor Role.


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.