My Oracle Support Banner

Receive 'AsExceptionUtl:An Infinite Or NaN (Not-A-Number) Value Encountered' On Calculation Activity (Doc ID 3021625.1)

Last updated on MAY 17, 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, Activity

When attempting to process Activity ( AutoTransfer and WorkItemNumberUpdate) which contains calculations
the following error occurs.

ERROR
-----------------------
java.lang.RuntimeException: Exception in doMath()
  java.lang.RuntimeException: java.lang.RuntimeException: Exception in doMath()
at com.adminserver.sre.bll.AbstractActivityProcessorBll.process(AbstractActivityProcessorBll.java:133)
at com.adminserver.sre.bll.ActivityProcessorBll.processWithoutUndoRedoGeneration(ActivityProcessorBll.java:268)
at com.adminserver.sre.bll.ActivityProcessorBll.process_aroundBody0(ActivityProcessorBll.java:164)
at com.adminserver.sre.bll.ActivityProcessorBll$AjcClosure1.run(ActivityProcessorBll.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)

Caused by: com.adminserver.utl.exception.EngineException: Failed to calculate Math Variable BenefitToAccumulationRatio with Statement ID 116. Location is RuleElementLocation[Entity=Transaction,GUID=D1FD6603-AA14-E0F1-9A16-DF33E41F18A3,XPath=/CopyBook/MathVariable[1],CopyBook=C09694E3-E12F-0B07-107A-EC158EBF7757].
at com.adminserver.sre.bll.generatedClasses.TransactionBll_D1FD6603_AA14_E0F1_9A16_DF33E41F18A3_b95729052b0884f4d8d0cf0c46df5cd0.executeStatement_116(Unknown Source)
at com.adminserver.sre.bll.generatedClasses.TransactionBll_D1FD6603_AA14_E0F1_9A16_DF33E41F18A3_b95729052b0884f4d8d0cf0c46df5cd0.executeProcessStatement_1(Unknown Source)
... 108 more

Caused by: com.adminserver.utl.exception.AsExceptionUtl: An infinite or NaN (Not-A-Number) value encountered
at com.adminserver.utl.MathHelperUtl.ensureAccurateDoubleAndCheckForInfinite(MathHelperUtl.java:776)
at com.adminserver.math.engine.CalculationFunctions.ensureAccurateDoubleAndCheckForInfinite(CalculationFunctions.java:1440)
... 110 more

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login to OIPA.
2. Go to Contract #####.
3. Click on Activity.
3. The AutoTransfer Activity is spawned.
4. Perform a Reverse/ Reprocess it it will add AutoTransfer Activity.

Changes

 

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
Changes
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.