"BadPaddingException" When Trying to Add a New User in an OFSAA Cloned / Migrated Environment

(Doc ID 1593180.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.3.2.2 and later
Information 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)
at com.iflex.fic.ficserver.services.sms.SMSServiceProvider.handleRequest(SMSServiceProvider.java:1140)
at com.iflex.fic.newservice.ServiceProxy.invokeService(ServiceProxy.java:184)
at com.iflex.fic.newservice.NewServiceMaster.provideService(NewServiceMaster.java:211)
at com.iflex.fic.newservice.DynamicServiceManager.provideService(DynamicServiceManager.java:297)
at com.iflex.fic.ficserver.JavaRequestHandler.handleRequest(JavaRequestHandler.java:546)
at com.iflex.fic.ficserver.JavaSocketConnection.run(JavaSocketConnection.java:202)


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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms