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

Error - 'null' page message on Assignment Next



Application assignments are not able to progress into the next stage. Tracing the error has been observed that the value for pzStatus on pyWorkPage is 'false' where valid values are 'Valid' and 'Invalid'.
The error occurs at step 5 in Work-.RecalculateAndSave. There is no error in the logfile.

Error Messages

No error in the log file

"** ** null" on the screen.

Steps to Reproduce

Create an case and submit the first assignment.

Root Cause

In order to find the root cause, the administrator private edited the activity RecalculateAndSave step 5 to print the error message using the below JAVA edit.

if (myStepPage.hasMessages()){
String messages = myStepPage.getMessagesAll();
ClipboardPage originalPage = myStepPage;
myStepPage = tools.createPage(originalPage.getClassName(),"");
oLog.infoForced("Getting messages--->>"+messages);
myStepPage.putAll(originalPage, ClipboardPage.PUTALL_KEEPNEW);
boolean newObject = tools.getParamAsBoolean(PropertyInfo.TYPE_TRUEFALSE, "newObject");
try {
tools.getDatabase().saveDeferred(myStepPage, newObject, true);
} catch (DatabaseException e) {
if (!e.getMessage().startsWith("Trying to save an invalid page:"))
myStepPage.addMessage(tools.getStepStatus().getLatestMessageName() + "\t" + tools.getStepStatus().getLatestMessageParms());
oLog.infoForced("Getting messages from Database--->>"+e.getMessage());

The log states the below
Getting messages from Database--->>Database-BadClassDef AA-BB-CCC-MYCLASS


There was a class rule missing from the deployment. After corrected the deployment sequence the application is now working as expected.
The RecalculateAndSave activity should be more informative regarding the error. BUG-286722 has been raised to track this item.

Suggest Edit

Published February 5, 2017 - Updated December 2, 2021

Did you find this content helpful? Yes No

100% found this useful

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