"BadPaddingException" When Trying to Add a New User in an OFSAA Cloned / Migrated Environment
(Doc ID 1593180.1)
Last updated on MAY 19, 2023
Applies to:
Oracle Financial Services Analytical Applications Infrastructure - Version 7.3.2.2 and laterInformation in this document applies to any platform.
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Oracle Financial Services Analytical Applications (OFSAA)
Symptoms
On OFSAAI 7.3.2.2 version, when attempting to create a new OFSAA user through the "Security Management" screen, it always returns "[11200] Failed adding new user". The following error can be found in SMSService.log file:
ERROR
[UMMLOG] Oct 10,13 17:17:04 : [INFORMATIONDOMAINSERVICES][AESCryptor] Exception while trying to decrpyt string Given final block not properly padded
[UMMLOG] Oct 10,13 17:17:04 : [INFORMATIONDOMAINSERVICES][ClsUCntSecUtilFuncs] Exception while trying to decrypt string :javax.crypto.BadPaddingException: Given final block not properly padded
[UMMLOG] Oct 10,13 17:17:04 : [SMSUSERHANDLER]Exception
java.lang.Exception: [ClsUCntSecUtilFuncs] Error in decryption javax.crypto.BadPaddingException: Given final block not properly padded
at com.iflex.fic.util.ClsUCntSecUtilFuncs.decrypt(ClsUCntSecUtilFuncs.java:78)
at com.iflex.fic.ficserver.services.sms.cssms.service.handlers.SMSUserHandler.addUser(SMSUserHandler.java:72)
at com.iflex.fic.ficserver.services.sms.CSSMSServices.addUser(CSSMSServices.java:2038)
The issue can be reproduced at will with the following steps:
1. Install OFSAAI 7.3.2.2
2. Replace the database with the UAT database (update the configuration tables after the database clone)
3. Attempt to create a new user.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |