Closed
Sorting failed, corrupt list - property not in parent's list
Sorting is failed in production and we are seeing the below exception in the logs. Any idea on resolution steps. It is only failed for for couple in millions of transactions. Data is looking good. No issues with clipboard pages. Looks like the sorting logic is wrong . We are sorting on a field which is having 21 same values out of 38 values.
Show More
Sorting is failed in production and we are seeing the below exception in the logs. Any idea on resolution steps. It is only failed for for couple in millions of transactions. Data is looking good. No issues with clipboard pages. Looks like the sorting logic is wrong . We are sorting on a field which is having 21 same values out of 38 values. It is a rare scenario but failed to sort.
2017-11-24 13:55:24,345 [ttp-nio-1401-exec-23] [ STANDARD] [ ] [ FraudOmg:01.01.02] ( internal.mgmt.Executable) ERROR - Exception
com.pega.pegarules.pub.PRRuntimeException: corrupt list: property not in parent's list!
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.indexOf(ClipboardPropertyBase.java:2130)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.getAttachedJavaObject(ClipboardPageBase.java:854)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getAttachedJavaObject(ClipboardPageImpl.java:484)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.getAttachedJavaObject(ClipboardPageBase.java:796)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getAttachedJavaObject(ClipboardPageImpl.java:484)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.getParentJavaObject(ClipboardPropertyBase.java:2934)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.getJavaPropertyValue(ClipboardPropertyBase.java:2793)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getValue(ClipboardPropertyImpl.java:4522)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getValue(ClipboardPropertyImpl.java:4494)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getNativeValue(ClipboardPropertyImpl.java:3607)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getStringValue(ClipboardPropertyImpl.java:3573)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getString(ClipboardPageImpl.java:1500)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getString(ClipboardPageImpl.java:1456)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getString(ClipboardPageImpl.java:1452)
at com.pega.pegarules.data.internal.clipboard.PageComparator.compare(PageComparator.java:179)
at java.util.TimSort.mergeHi(TimSort.java:837)
at java.util.TimSort.mergeAt(TimSort.java:516)
at java.util.TimSort.mergeCollapse(TimSort.java:441)
at java.util.TimSort.sort(TimSort.java:245)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1454)
at java.util.Collections.sort(Collections.java:175)
at com.pega.pegarules.data.internal.clipboard.SorterImpl.collectionsSortWithInferenceEngineDisabled(SorterImpl.java:203)
at com.pega.pegarules.data.internal.clipboard.SorterImpl.sortPageList(SorterImpl.java:186)
at com.pega.pegarules.data.internal.clipboard.SorterImpl$StaticHelper.sortPageList(SorterImpl.java:422)
at com.pega.pegarules.data.external.clipboard.Sorter.sortPageList(Sorter.java:45)
at com.pega.pegarules.session.internal.mgmt.Executable.sortPageList(Executable.java:4963)
at com.pegarules.generated.model.ra_model_post_validatefraud_8753cbf3c700342a1ee85f6ccd2d7dd4.perform(ra_model_post_validatefraud_8753cbf3c700342a1ee85f6ccd2d7dd4.java:78)
at com.pega.pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:4501)
at com.pegarules.generated.collection.ra_collection_validatefraud_01645496ae6371cce583646ec7940ba3.stepPost_1_1_circum0(ra_collection_validatefraud_01645496ae6371cce583646ec7940ba3.java:10333)
at com.pegarules.generated.collection.ra_collection_validatefraud_01645496ae6371cce583646ec7940ba3.stepPost_1_0_circum0(ra_collection_validatefraud_01645496ae6371cce583646ec7940ba3.java:10258)
at com.pegarules.generated.collection.ra_collection_validatefraud_01645496ae6371cce583646ec7940ba3.perform(ra_collection_validatefraud_01645496ae6371cce583646ec7940ba3.java:4426)
at com.pega.pegarules.session.internal.mgmt.Executable.applyCollection(Executable.java:8075)
at com.pegarules.generated.activity.ra_action_validatefraud_a1a2f5d29cc44ebf2f277b32d4543611.step14_circum0(ra_action_validatefraud_a1a2f5d29cc44ebf2f277b32d4543611.java:1682)
at com.pegarules.generated.activity.ra_action_validatefraud_a1a2f5d29cc44ebf2f277b32d4543611.perform(ra_action_validatefraud_a1a2f5d29cc44ebf2f277b32d4543611.java:334)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:465)
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:1919)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:391)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1297)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:889)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
at com.pega.pegarules.integration.engine.internal.services.http.HTTPService.invoke(HTTPService.java:445)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:589)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:378)
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
***Edited by Moderator Marissa to update platform capability tags***
Show Less