Support Article

Unable to run Dataflow "SimulateTreatmentsForParty' - UAT

SA-30495

Summary



Facing issue while running dataflow "XY", The dataflow failed with "Interrupted by unexpected service shutdown" Error on the screen.

Error Messages


2016-11-14 21:42:22,249 [GDP2:Administrators]] [ STANDARD] [ ] [ ] ( internal.access.DatabaseImpl) ERROR - Encountered problem when performing a Commit
java.lang.UnsupportedOperationException
at com.pega.decision.dsm.strategy.clipboard.DSMClipboardPageInternal.getStreamForm(DSMClipboardPageInternal.java:66)
at com.pega.pegarules.data.internal.access.PageDatabaseMapperImpl.getStreamFormOfPage(PageDatabaseMapperImpl.java:1458)
at com.pega.pegarules.data.internal.access.DatabaseImpl.preprocessInstancesBeforeCriticalCommitSection(DatabaseImpl.java:3235)
at com.pega.pegarules.data.internal.access.DatabaseImpl.attemptToProcessUpdates(DatabaseImpl.java:2746)
at com.pega.pegarules.data.internal.access.DatabaseImpl.processUpdates(DatabaseImpl.java:2415)
at com.pega.pegarules.data.internal.access.Saver.save(Saver.java:679)
at com.pega.pegarules.data.internal.access.Saver.save(Saver.java:1908)
at com.pega.pegarules.data.internal.access.DatabaseImpl.save(DatabaseImpl.java:4056)
at com.pega.pegarules.data.internal.access.DatabaseImpl.save(DatabaseImpl.java:4047)
at com.pega.dsm.dnode.impl.dataflow.service.WorkPersistenceManager.writeToDB(WorkPersistenceManager.java:267)
at com.pega.dsm.dnode.impl.dataflow.service.WorkPersistenceManager.writeIfNotAlreadyEndState(WorkPersistenceManager.java:288)
at com.pega.dsm.dnode.impl.dataflow.service.WorkPersistenceManager.access$300(WorkPersistenceManager.java:47)
at com.pega.dsm.dnode.impl.dataflow.service.WorkPersistenceManager$7.execute(WorkPersistenceManager.java:276)
at com.pega.dsm.dnode.util.OperationWithLock$1.execute(OperationWithLock.java:36)
at com.pega.dsm.dnode.util.OperationWithLock.doWithLock(OperationWithLock.java:67)
at com.pega.dsm.dnode.util.OperationWithLock.doWithLock(OperationWithLock.java:40)
at com.pega.dsm.dnode.util.OperationWithLock.doWithLock(OperationWithLock.java:25)
at com.pega.dsm.dnode.impl.prpc.service.ServiceHelper.executeWithLockInternal(ServiceHelper.java:169)
at com.pega.dsm.dnode.impl.prpc.service.ServiceHelper.executeWithLock(ServiceHelper.java:137)
at com.pega.dsm.dnode.impl.dataflow.service.DataFlowLockManager.lock(DataFlowLockManager.java:28)
at com.pega.dsm.dnode.impl.dataflow.service.WorkPersistenceManager.saveWithStatusChange(WorkPersistenceManager.java:272)
at com.pega.dsm.dnode.impl.dataflow.service.WorkPersistenceManager.save(WorkPersistenceManager.java:258)
at com.pega.dsm.dnode.impl.dataflow.service.WorkPersistenceManager.markRunToStopped(WorkPersistenceManager.java:385)
at com.pega.dsm.dnode.impl.dataflow.service.DataFlowMetricsSubscriber$AssignmentUpdater.markMetricsAsStoppingIfNecessary(DataFlowMetricsSubscriber.java:222)
at com.pega.dsm.dnode.impl.dataflow.service.DataFlowMetricsSubscriber$AssignmentUpdater.updateWith(DataFlowMetricsSubscriber.java:192)
at com.pega.dsm.dnode.impl.dataflow.service.DataFlowMetricsSubscriber.onNext(DataFlowMetricsSubscriber.java:66)
at com.pega.dsm.dnode.impl.dataflow.service.DataFlowMetricsSubscriber.onNext(DataFlowMetricsSubscriber.java:28)
at com.pega.dsm.dnode.api.dataflow.DataFlow$1$2.onNext(DataFlow.java:331)
at com.pega.dsm.dnode.api.dataflow.DataFlow$1$2.onNext(DataFlow.java:325)
at com.pega.dsm.dnode.api.dataflow.DataFlow$1$1.inisdeLoop(DataFlow.java:309)
at com.pega.dsm.dnode.api.dataflow.DataFlowExecutor$QueueBasedDataFlowExecutor.runEventLoop(DataFlowExecutor.java:204)
at com.pega.dsm.dnode.api.dataflow.DataFlow$1.emit(DataFlow.java:259)
at com.pega.dsm.dnode.impl.stream.DataObservableImpl.subscribe(DataObservableImpl.java:57)
at com.pega.dsm.dnode.impl.dataflow.service.LocalRun.execute(LocalRun.java:243)
at com.pega.dsm.dnode.impl.dataflow.service.LocalRun.access$500(LocalRun.java:45)
at com.pega.dsm.dnode.impl.dataflow.service.LocalRun$2.execute(LocalRun.java:164)
at com.pega.dsm.dnode.util.OperationWithLock$1.execute(OperationWithLock.java:36)
at com.pega.dsm.dnode.util.OperationWithLock.doWithLock(OperationWithLock.java:67)
at com.pega.dsm.dnode.util.OperationWithLock.doWithLock(OperationWithLock.java:40)


Steps to Reproduce



Run Dataflow 


Root Cause



The issue was introduced by a previous bug fix.
The solution is to always provide a regular clipboard page (for assignments and work object) when saved to the database.

Resolution



Apply HFIX-30535

 

Published November 17, 2016 - Updated November 22, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.