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 and later
Information in this document applies to any platform.


On : 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:

java.lang.RuntimeException: com.adminserver.utl.exception.AsExceptionUtl: Failed to generate OnLoad event processor.
at com.adminserver.pas.uip.aspects.UipExtensibilityAspect.extendUipMethod(
at com.adminserver.pas.uip.RoleUip.processRoleCodeSelection(
at sun.reflect.GeneratedMethodAccessor2725.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
... 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(
... 74 more
Caused by: com.adminserver.utl.exception.EngineException: Could not find definition for variable: ClientTypeCode.
at com.adminserver.math.dcl.MathCalculationDcl.getVariableDcl(
at com.adminserver.math.dcl.MathCalculationDcl.getObjectValue(
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldObjectValue(
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldObjectValue(
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldObjectValue(

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


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.