Support Article

URL obfuscation with non-ascii characters in return stream



When submitting a request which returns a URL with non-ASCII characters, if URL obfuscation is enabled, the encryption process fails due to incorrect byte array length.

Error Messages

On Screen Error:
Status fail
Message There has been an issue; please consult your system administrator
Operator ID BPMSAdmin2
Requestor ID HEE185566B1944D134EA3EBC423D32827

Log Error:
Caused by: 
javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes 
at Source) 
at Source) 
at Source) 
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.pega.pegarules.exec.internal.util.crypto.PRCipherBase.encrypt( 

Steps to Reproduce

  1. Turn on URL encryption.
  2. Create a work object and perform an action on the work object which will return a URL containing non-ASCII characters.
  3. Observe the onscreen and log errors.

Root Cause

A defect in Pegasystems’ code or rules.


Apply HFix-30629.

Published December 8, 2016 - Updated December 13, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.