Skip to Content
0
Jun 08, 2020 at 11:23 AM

Error at Decryption of password

133 Views

Hi Team,

Please provide your advise on the below issue.

while assigning the roles to backend systems (all approved) we are getting the error log like,

java.lang.Throwable: Failed running function in string "$FUNCTION.sap_core_getPassword({DES3CBC}1:XXXXXXX)$$". Marking entry as failed. Exception was: org.mozilla.javascript.JavaScriptException: java.lang.StringIndexOutOfBoundsException: String index out of range: -6


HINT: Check line 6 in the script sap_core_getPassword

function sap_core_getPassword(Par) {
var password;
if (Par != null && Par != "") {
password = uDecrypt(Par, ""); //Line 6

I searched for different notes and discussions, but not found relevant.

Thanks,

Aravind.