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

NullPointerException when clicking Clear Filter on table

SA-62951

Summary



NullPointerException is generated in the log on clicking the Clear Filter link after filtering a column in a table.
The exception is from Step 2 of the pzSortClipBoardData activity. According to the Tracer, the exception occurs when the step page on the call to it from Step 4 of pzGetGridColUniqueValues is blank. This results in pzSortClipBoardData having the same primary page as pzGetGridColUniqueValues.



Error Messages



java.lang.NullPointerException
at com.pegarules.generated.activity.ra_action_pzsortclipboarddata_0c878499a78c46471e566c57ce9aac4a.step2_circum0(ra_action_pzsortclipboarddata_0c878499a78c46471e566c57ce9aac4a.java:257) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzsortclipboarddata_0c878499a78c46471e566c57ce9aac4a.perform(ra_action_pzsortclipboarddata_0c878499a78c46471e566c57ce9aac4a.java:87) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3421) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10794) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_pzgetgridcoluniquevalues_2a5df65c53476fc7b831beeb349462ac.step4_circum0(ra_action_pzgetgridcoluniquevalues_2a5df65c53476fc7b831beeb349462ac.java:1130) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzgetgridcoluniquevalues_2a5df65c53476fc7b831beeb349462ac.perform(ra_action_pzgetgridcoluniquevalues_2a5df65c53476fc7b831beeb349462ac.java:127) ~[?:?]
a ...



Steps to Reproduce

  1. Filter a column in the table. 
  2. Sort the column. 
  3. Click 'Clear Filter' to stop filtering the table.


Root Cause



A defect in Pegasystems’ code or rules.
The pzSortClipboardData activity was invoked when it should not be.



Resolution



Apply HFix-46229.


 

Published February 19, 2019 - Updated December 2, 2021

Was this useful?

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.

Did you find this content helpful?

Want to help us improve this content?

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