My Oracle Support Banner

AsExceptionUtl: An Error Occurred While Processing Business Rule: CopyToCommissionDetailFields (Doc ID 3017967.1)

Last updated on APRIL 30, 2024

Applies to:

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

Symptoms

On : 11.3.1.28 version, Client Activity

Following an upgrade from OIPA 11.1 to OIPA 11.3, when attempting to process Transactions using the CopyToCommissionDetailFields Attached Business Rule,
the following error occurs.


ERROR
-----------------------
SEVERE: com.adminserver.utl.exception.AsExceptionUtl: com.adminserver.utl.exception.AsExceptionUtl: An error occurred while processing business rule: CopyToCommissionDetailFields.
java.lang.RuntimeException: com.adminserver.utl.exception.AsExceptionUtl: com.adminserver.utl.exception.AsExceptionUtl: An error occurred while processing business rule: CopyToCommissionDetailFields.
at com.adminserver.sre.bll.AbstractActivityProcessorBll.process(AbstractActivityProcessorBll.java:130)
at com.adminserver.sre.bll.ActivityProcessorBll.processWithoutUndoRedoGeneration(ActivityProcessorBll.java:268)
at com.adminserver.sre.bll.ActivityProcessorBll.process_aroundBody0(ActivityProcessorBll.java:115)
at com.adminserver.sre.bll.ActivityProcessorBll$AjcClosure1.run(ActivityProcessorBll.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)


Caused by: java.lang.RuntimeException: Exception in doMath()
at com.adminserver.sre.bll.generatedClasses.TransactionBll_EFE1C48C_C7CE_4131_BFF0_F5DEB00EE1B0_D1E1431B_6C80_437F_A17D_8476C893AE4B_aa0e6bbf6f1650814917a3541d720d15.doMath(Unknown Source)
at com.adminserver.sre.bll.AbstractActivityProcessorBll.doMath_aroundBody2(AbstractActivityProcessorBll.java:243)
at com.adminserver.sre.bll.AbstractActivityProcessorBll$AjcClosure3.run(AbstractActivityProcessorBll.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.adminserver.extensibility.helper.aspects.ExtensibilityAspectExecutionHelper.executeExtension(ExtensibilityAspectExecutionHelper.java:36)
at com.adminserver.sre.aspects.BaseSreExtensibilityAspect.executeExtension(BaseSreExtensibilityAspect.java:97)
at com.adminserver.sre.aspects.SreForwardProcessingExtensibilityAspect.instrumentPasTransactionBll_doMath(SreForwardProcessingExtensibilityAspect.java:89)
at com.adminserver.sre.bll.AbstractActivityProcessorBll.doMath(AbstractActivityProcessorBll.java:243)
at com.adminserver.sre.bll.ClientFinancialProcessorBll.process(ClientFinancialProcessorBll.java:42)
at com.adminserver.sre.bll.AbstractActivityProcessorBll.process(AbstractActivityProcessorBll.java:124)
... 41 more
Caused by: com.adminserver.utl.exception.EngineException: Failed to calculate Math Variable ActivityCountryCode with Statement ID 1. Location is RuleElementLocation[Entity=Transaction,GUID=EFE1C48C-C7CE-4131-BFF0-F5DEB00EE1B0,XPath=/CopyBook/MathVariable[1]].
at com.adminserver.sre.bll.generatedClasses.TransactionBll_EFE1C48C_C7CE_4131_BFF0_F5DEB00EE1B0_D1E1431B_6C80_437F_A17D_8476C893AE4B_aa0e6bbf6f1650814917a3541d720d15.executeStatement_1(Unknown Source)
at com.adminserver.sre.bll.generatedClasses.TransactionBll_EFE1C48C_C7CE_4131_BFF0_F5DEB00EE1B0_D1E1431B_6C80_437F_A17D_8476C893AE4B_aa0e6bbf6f1650814917a3541d720d15.executeProcessStatement_1(Unknown Source)
... 51 more
Caused by: com.adminserver.utl.exception.EngineException: Could not find definition for variable: Activity:CountryCode.
at com.adminserver.math.dcl.MathCalculationDcl.getVariableDcl(MathCalculationDcl.java:613)
at com.adminserver.math.dcl.MathCalculationDcl.getObjectValue(MathCalculationDcl.java:538)
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldObjectValue(MathExecutionContext.java:822)
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldObjectValue(MathExecutionContext.java:800)
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldTextValue(MathExecutionContext.java:553)
at com.adminserver.math.context.MathExecutionContext.getDynamicFieldTextValue(MathExecutionContext.java:530)
... 53 more



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login to OIPA.
2. Attempt to process the CalculateModalCommission Transaction along with the sample CopyToCommissionDetailFields config.
3. The Transaction will fail.

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.