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

Thread dumps occur while retrieving an image from a URL



Thread dumps occur while retrieving an image from a URL and displaying it in a section.

Error Messages

BlockedCount : 5, BlockedTime : -1, WaitedCount : 251, WaitedTime : -1
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(
at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.tryLock(
at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.lockAttempt(
at com.pega.pegarules.session.internal.mgmt.PRRequestorImpl.lockAttempt(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.getLockOnRequestor(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(

Steps to Reproduce


Root Cause

An issue in the custom application code or rules.


Perform a following local-change:

Write the custom control as below:

ClipboardProperty curProp = tools.getActive();
String UserID=curProp.getStringValue();
String PhotoLink = "https:XXXXXXXXXXXXX/?uid=";
String PhoneToolLink = "https://XXXXXXXXXXXXXXXXXX/users/";

PhoneToolLink= PhoneToolLink+UserID;

<a href="<pega:reference name="$save(PhonetoolLink)"/>" target = "<pega:reference name="$save(UserID)"/>">
<img src="<pega:reference name="$save(result)"/>" alt="Phone tool Icon" style="width:48px;height:64px;">
<br />
<pega:when test="param.HideUserID=='' || param.HideUserID >= 0">
<pega:reference name="$save(UserID)"/>


Published March 22, 2018 - 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