Question

1
Replies
13
Views
RohitS9090 Member since 2020 2 posts
Sun Life Financial Inc
Posted: October 27, 2020
Last activity: October 27, 2020

Edit Validate rule for email validation throws an unexpected error on UI.

Hi,

I have written an email validate rule. It is working fine at starting but after some round of testing it throws error whenever we click outside of email field.

Attaching the error and email validate rule below.

In logs below error is shown:

2020-10-27 06:37:24,271 [ecutor-thread-312435] [TABTHREAD1] [                    ] [ LifeClaims:01.01.01] (ngineinterface.service.HttpAPI) ERROR sit-lifeclaims-pegacase.sunlifecorp.com|10.0.65.84 JC59 - 10.0.65.84: com.pega.pegarules.pub.runtime.IndeterminateConditionalException 
com.pega.pegarules.pub.runtime.IndeterminateConditionalException: PRRuntimeError 
	at com.pegarules.generated.validate.ra_validate_claimsemailvalidation_22f80c178e3d7423d6cbf43afb9b0320.evaluate(ra_validate_claimsemailvalidation_22f80c178e3d7423d6cbf43afb9b0320.java:147) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.editValidate(Executable.java:4707) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.PropertyInfoImpl.validateStringPropertyEditAndTypeOnly(PropertyInfoImpl.java:260) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.PropertyInfoImpl.validateStringPropertyEditAndTypeOnly(PropertyInfoImpl.java:223) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.PropertyInfoImpl.validateStringProperty(PropertyInfoImpl.java:188) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.PropertyInfoImpl.validateData(PropertyInfoImpl.java:783) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.PropertyInfoImpl.validate(PropertyInfoImpl.java:2516) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.DictionaryImpl.validate(DictionaryImpl.java:1092) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.DictionaryImpl.validate(DictionaryImpl.java:1031) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.DictionaryImpl.validate(DictionaryImpl.java:1027) ~[prprivate.jar:?] 
	at com.pega.pegarules.data.internal.dictionary.DictionaryImpl.validate(DictionaryImpl.java:1023) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.input.HandleInput.setAndCheckPropertyValue(HandleInput.java:868) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.input.HandleInput.handleMapping(HandleInput.java:456) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.input.HandleInput.inputProcessing(HandleInput.java:372) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.mapInputData(HttpAPI.java:3186) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.activityExecutionProlog(EngineAPI.java:601) ~[prenginext.jar:?] 
	at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:436) ~[prenginext.jar:?] 
	at sun.reflect.GeneratedMethodAccessor177.invoke(Unknown Source) ~[?:?] 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0] 
	at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0] 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1382) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1114) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:968) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:361) ~[prenginext.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:891) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251) ~[prprivate.jar:?] 
	at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:275) ~[prpublic.jar:?] 
	at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:220) ~[prpublic.jar:?] 
	at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:751) ~[prwebj2ee.jar:?] 
	at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:413) ~[prwebj2ee.jar:?] 
	at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source) ~[?:?] 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0] 
	at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0] 
	at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:381) ~[prbootstrap-8.2.2-354.jar:8.2.2-354] 
	at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:422) ~[prbootstrap-8.2.2-354.jar:8.2.2-354] 
	at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-8.2.2-354.jar:8.2.2-354] 
	at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api-8.2.2-354.jar:8.2.2-354] 
	at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:141) ~[prbootstrap-api-8.2.2-354.jar:8.2.2-354] 
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[com.ibm.websphere.javaee.servlet.3.1_1.0.21.jar:?] 
	at com.pega.pegarules.internal.web.servlet.WebStandardBoot.service(WebStandardBoot.java:167) ~[prbootstrap-api-8.2.2-354.jar:8.2.2-354] 
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[com.ibm.websphere.javaee.servlet.3.1_1.0.21.jar:?] 
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255) ~[?:?] 
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:743) ~[?:?] 
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:440) ~[?:?] 
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1208) ~[?:?] 
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4954) ~[?:?] 
	at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:314) ~[?:?] 
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:996) ~[?:?] 
	at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279) ~[?:?] 
	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1011) ~[?:?] 
	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:414) ~[?:?] 
	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:373) ~[?:?] 
	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:532) ~[?:?] 
	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:466) ~[?:?] 
	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:331) ~[?:?] 
	at com.ibm.ws.http.channel.internal.inbound.HttpICLReadCallback.complete(HttpICLReadCallback.java:70) ~[?:?] 
	at com.ibm.ws.channel.ssl.internal.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1803) ~[?:?] 
	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:501) ~[?:?] 
	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:571) ~[?:?] 
	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:926) ~[?:?] 
	at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1015) ~[?:?] 
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) [?:1.8.0] 
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:1.8.0] 
	at java.lang.Thread.run(Thread.java:812) [?:2.9 (12-19-2018)] 
Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1 
	at com.pegarules.generated.validate.ra_validate_claimsemailvalidation_22f80c178e3d7423d6cbf43afb9b0320.evaluate(ra_validate_claimsemailvalidation_22f80c178e3d7423d6cbf43afb9b0320.java:86) ~[?:?] 
	... 65 more 

 

Pega Platform 8.4.2 User Interface Insurance Senior System Architect
Share this page LinkedIn