Why do I get an error when I run a predefined global function for my Groovy script?

If you receive an ADF_FACES-60096: Server Exception during PPR error, then this indicates a problem with the server-side processing of a page or component in your Oracle Application Framework (ADF) application. One possible reason for this is that you might be using an incomplete definition of the function in your script.

For example, if you're using the predefined global function getUserPartyId() to return the party ID of the signed-in user in your Groovy script, you must use the full package definition such as oracle.apps.cdm.foundation.publicModel.common.util.HzSessionUtil.getUserPartyId().