Support Article

WrongModeException after passivation

SA-36220

Summary



Wrong mode exceptions appear in the log file after passivation.


Error Messages



Caused by:

com.pega.pegarules.pub.clipboard.WrongModeException: WrongModemyClass.SICData Unknown ClipboardProperty.adoptVirtualPageList String
at com.pega.pegarules.data.internal.clipboard.VirtualClipboardPropertyImpl.constructVirtualProperty(VirtualClipboardPropertyImpl.java:2429)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.adoptVirtualPageList(ClipboardPropertyImpl.java:6076)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.adoptListStreamToVirtualList(ClipboardPropertyImpl.java:7406)


Steps to Reproduce



Remain idle so the system times out. Then log in again.


Root Cause



A defect in Pegasystems’ code or rules. It is related to page passivation; however, the root cause is unknown.

The stack trace will show this line,
which indicates that something in page passivation is causing the error.

at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.checkForPassivatedPage(ThreadPageDir.java:634)

Resolution



Perform the following local-change:

Turn off page passivation by means of this prconfig entry:

<env name="initialization/persistrequestor/usepagelevelpassivation" value="false"/>

The performance impact is extremely minimal and probably will not even be noticed.

Published April 7, 2017 - Updated April 24, 2017

Have a question? Get answers now.

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