Support Article
URL obfuscation with non-ascii characters does not work well
SA-82084
Summary
Data on Load error occurs when non-ASCII characters are present in a report definition after enabling URL obfuscation.
Error Messages
Data on Load error:
There has been an issue. Please consult your administrator" is thrown
Log Error:
Caused by:
javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
at com.ibm.crypto.provider.AESCipher.a(Unknown Source)
at com.ibm.crypto.provider.AESCipher.engineDoFinal(Unknown Source)
at com.ibm.crypto.provider.AESCipher.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.pega.pegarules.exec.internal.util.crypto.PRCipherBase.encrypt(PRCipherBase.java:208)
Steps to Reproduce
- Enable URL encryption.
- Include data with non-ASCII characters.
- Configure a report definition to loading that data.
Root Cause
A defect in Pegasystems’ code or rules.
In this use case, the input length of the stream was not a multiple of 16.
Resolution
Apply HFix-54184.
Published August 15, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.