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

Invalid reference to non-public interface exception in logs

SA-19245

Summary



Administrators observe the exception Invalid reference to non-public interface in the PegaRULES log files.

Error Messages

2016-01-07 12:49:57,802 [ WebContainer : 13] [TABTHREAD1] [ ] [ x:01.01.01] (il.classloader.PRClassLoaderDB) WARN |Invalid reference to non-public interface from class "com.pegarules.generated.activity.ra_action_invoke_a8683c05b95252b595b7e838a5f6da36" to "com.pega.pegarules.storage.fs.resadaptor.OutputStreamWrapper"

Steps to Reproduce

Upon restarting the server, you notice the warnings, which appear on the first restart only: 

  1. Log in to the system.
  2. Click the Pega product version control at the bottom right corner to display the About PRPC window. 
  3. Click System Information.
    You see the warnings in the log file. 


Root Cause



This is expected behavior. 
The error message originates from a loadClass method in PRClassLoaderDB class. When the package name does not match the public API packages, the error is shown in the log. However, the class loads correctly and there is no functional impact on the application behavior. 

Resolution



​Perform the following local-change to avoid the error and to resolve the issue temporarily:

Choose to add one of the following settings to the prconfig.xml file and restart the server:

<env name="classloader/publicinterfacepackages" value="com.pega.pegarules.storage" /> 
<env name="classloader/allowpublicinterfaceonly" value="false" />

 

Published November 30, 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?

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