My Oracle Support Banner

Reversal Of Activities That Leverage CopyToActivityFields Triggers System Error (Doc ID 2824186.1)

Last updated on NOVEMBER 29, 2021

Applies to:

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

Symptoms

On : 11.3.1.0 version, General

After upgrading from V10.2.0.39 to V11.3.1, it appears the system no longer supports Undo capabilities for Activities that leverage CopyToActivityFields Business Rule.
The ActivityGUID captured within ApeChanges/CopyToPendingActivityFields/Activity can correspond to a Pending Activity or a Shadowed Activity (typically it is a Shadowed Activity).
V11 returns a System Error when it is a Shadowed Activity while V10 uses the Shadow ActivityGUID and apply the necessary reversal of data on the corresponding Redo/Pending Activity.


ERROR
-----------------------
java.lang.RuntimeException: com.adminserver.utl.exception.AsExceptionUtl: java.lang.RuntimeException: java.lang.RuntimeException: com.adminserver.utl.exception.AsExceptionUtl: com.adminserver.utl.exception.AsExceptionUtl: An error occurred while processing business rule: CopyToPendingActivityFields.
  at com.adminserver.pas.uip.aspects.UipExtensibilityAspect.extendUipMethod(UipExtensibilityAspect.java:65)
  at com.adminserver.pas.uip.PolicyActivityUip.processProcessAction(PolicyActivityUip.java:1017)
  at com.oracle.pas.page.PolicyActivityPage.processProcessAction(PolicyActivityPage.java:63)
  at com.oracle.pas.service.delegate.PolicyActivityServiceDelegate.processPolicyActivity(PolicyActivityServiceDelegate.java:87)
  at com.oracle.pas.service.PolicyActivityService.processActivity(PolicyActivityService.java:56)
  at sun.reflect.GeneratedMethodAccessor1261.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
  at java.lang.reflect.Method.invoke(Method.java:508)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Recycle Issue on any of the Policies returned in this query:


SELECT P.PolicyNumber, T.TransactionName, A.EffectiveDate, A.ACTIVITYGMT, a.typecode, a.statuscode, A.ACTIVITYGUID, A.XMLDATA
FROM AsPolicy P
JOIN AsActivity A ON A.PolicyGUID = P.PolicyGUID AND A.TypeCode IN ('01','04') AND A.StatusCode IN ('01','14')
and a.xmldata like '%CopyToPendingActivityFields%'
JOIN AsTransaction T ON T.TransactionGUID = A.TransactionGUID AND T.TransactionName = 'Issue'
with ur;

2. Recreate by recycling Issue the specific Policy.

3. Create a TestTran1 that will alter an ActivityField in TestTran2. Process both TestTran1 and TestTran2.

4. Then perform Undo processing over both Transaction.




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.