Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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: WrongMode myClass.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.

Suggest Edit

Published April 24, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us