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

High CPU Usage for java.exe due to NetworkPressenceApplet



Users experiencing High CPU Usage for java.exe on user's machine due to NullPointerException.

Error Messages

Recieve a dialog for Application Error (Applet Lifecycle Exception) for General Exception. Name: NetworkPresenceApplet java.lang.NullPointerException

Steps to Reproduce

1. Log in to the application. 
2. Application error dialog box is displayed for NetworkPresenceApplet.Close the dialog by either clicking OK button or X button. 
3. On doing so, CPU usage shoots up to 99%

Root Cause

As per custom security policy, “//” in any http request is blocked. While invoking Network Presence key registering request, it contains “//”.Hence the request is blocked by custom security settings and customer observes NullPointerException for NetworkPresenceApplet.Due to this the CPU usage was shooting very high.


HotFix-893 has been provided which addresses this issue.
The HotFix changes are as below:

The String "socket://" has been removed from connectionURL string of  API NetworkPresenceBaseClass. createConnectionURL as shown below:
        String    connectionURLStr = myip + ":" + socketNumber;
The above change results in invoking the NetworkPresenceKey registering request without string “socket://”. This string is added back to the string ‘connectionURL’ of the API RegisterNetworkPresence.doRegisteration as shown below:
        connectionURL = "socket://" + connectionURL;


Published January 31, 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