Getting this "com.pega.pegarules.pub.runtime.ActivityTerminateException"

In child case after attaching the document click on submit. Assignment is getting assigned to broken process and status changes to “New”.

If the assignment opened in assign workbasket we see this message

“com.pega.pegarules.pub.runtime.ActivityTerminateException :- This is a singleton exception object and the stack trace below does NOT reflect the actual point of failure. To see the actual trace, set Initialization/UniqueActivityTerminateExceptions = true”

Note: this is not happening for all the cases

anyone help me to resolve this.

@AJAYR16863281

Found the route cause

after adding the attachment it will be saved in pega server and provides stream data in property pyAttachInputStream. if that property value is setting has null the activity gets terminated and the above exception has been thrown.

IF the case is kept idle for sometime the stream is getting automatically removed. if anybody knows why it is getting removed, kindly reply.