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

Overriden sort function not found from grid

SA-27931

Summary



A NoSuchMethodException is encountered when attempting to call an overridden sort function from a grid.

Error Messages



Failed to process comparator list, java.lang.NoSuchMethodException: com.pegarules.generated.scrmfw_sort.your_method--(String,String)(java.lang.String, java.lang.String). Details: Invalid value for aComparator passed to com.pega.pegarules.data.internal.clipboard.Sorter.sortPageList(ClipboardProperty, String[], boolean[], String[])


Steps to Reproduce



1. Customize sort function for a property.
2. Try to call it while sorting grid (that property should be in a column).


Root Cause



A defect in Pegasystems’ code or rules.

Resolution



Apply HFix-29386.

 

Published September 21, 2016 - Updated October 8, 2020

Was this useful?

0% 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