My Oracle Support Banner

CopyToRequirementFields Business Rule Fails On Requirement With TextArea Field (Doc ID 2855051.1)

Last updated on MARCH 11, 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 a Requirements that have a Field in their Requirement Definition that is DataType of TextArea which is stored in a column called BigTextValue for the record.
The Requirement also has a field called ReceivedDate.
1. Claim Requirement with TextArea: Other – Policy – Claim.
2. Claim Requirement without TextArea: 3 Year Activity Review.

In the transaction, when attempt to update the ReceivedDate field using CopyToRequirementFields BR with the following configuration:
<CopyToRequirementFields REQUIREMENTGUIDS="UpdateReqGUIDArray">
<Fields>
<Field>
<FromCollection>ReceivedDateCollection</FromCollection>
<To>ReceivedDate</To>
</Field>
</Fields>
</CopyToRequirementFields>

The CopyToRequirementFields works fine updating the ReceivedDate field of requirements that do not have a TextArea field
However when CopyToRequirement fields attempts to update a Requirement with a TextArea field , the following message is reported:


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: CopyToRequirementFields.
at com.adminserver.pas.uip.aspects.UipExtensibilityAspect.extendUipMethod(UipExtensibilityAspect.java:65)
at com.adminserver.pas.uip.PolicyActivityUip.processProcessAction(PolicyActivityUip.java:1007)
at com.oracle.pas.page.PolicyActivityPage.processProcessAction(PolicyActivityPage.java:63)
at com.oracle.pas.service.delegate.PolicyActivityServiceDelegate.processPolicyActivity(PolicyActivityServiceDelegate.java:85)
at com.oracle.pas.service.PolicyActivityService.processActivity(PolicyActivityService.java:56)
at sun.reflect.GeneratedMethodAccessor13484.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$$Lambda$334/0000000023975240.invoke(Unknown Source)
Caused by: com.adminserver.utl.exception.AsExceptionUtl: Field Name BigTextValue does not have a value.
at com.adminserver.dcl.DataDcl.getValue(DataDcl.java:129)
at com.adminserver.dcl.DataDcl.getBigTextValue(DataDcl.java:297)
at com.adminserver.dcl.helper.FieldHelper.getFieldDataDclValue(FieldHelper.java:1098)
at com.adminserver.dcl.helper.FieldHelper.getFieldVariableDcl(FieldHelper.java:957)
at com.adminserver.sre.dal.PASDal.findRequirementsByRequirementGuidList(PASDal.java:2997)
at com.adminserver.pas.ape.CopyToRequirementFieldsApe.loadRequirementDclList(CopyToRequirementFieldsApe.java:147)
at com.adminserver.pas.ape.CopyToRequirementFieldsApe.processRule(CopyToRequirementFieldsApe.java:97)
... 119 more


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. In a transaction, attempt to update the ReceivedDate field using the attached CopyToRequirementFields configuration.

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.