My Oracle Support Banner

Exception avax.crypto.BadPaddingException: Given final block not properly padded, running run_drm_utility.sh (Doc ID 2507170.1)

Last updated on OCTOBER 30, 2019

Applies to:

Oracle Financial Services Behavior Detection Platform - Version 5.9.0.1 and later
Information in this document applies to any platform.

Symptoms

 $ ./run_drm_utility.sh <PARAMETERS>
javax.crypto.BadPaddingException: Given final block not properly padded
       at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:975)
       at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:833)
       at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
       at javax.crypto.Cipher.doFinal(Cipher.java:2165)
       at com.mantas.platform.security.crypto.DESCryptor.decrypt(DESCryptor.java:145)
       at com.mantas.platform.config.MantasProperties.load(MantasProperties.java:112)
       at com.mantas.platform.config.ConfigurationManager.load(ConfigurationManager.java:158)
       at com.mantas.platform.config.ConfigurationManager.<init>(ConfigurationManager.java:110)
       at com.mantas.platform.config.ConfigurationManager.init(ConfigurationManager.java:448)
       at com.mantas.dbtools.util.DRMUtility.accessUtility(Unknown Source)
       at com.mantas.dbtools.util.DRMUtility.main(Unknown Source)
java.lang.NullPointerException
       at java.util.Hashtable.put(Hashtable.java:459)
       at java.util.Properties.setProperty(Properties.java:166)
       at com.mantas.platform.config.MantasProperties.load(MantasProperties.java:112)
       at com.mantas.platform.config.ConfigurationManager.load(ConfigurationManager.java:158)
       at com.mantas.platform.config.ConfigurationManager.<init>(ConfigurationManager.java:110)
       at com.mantas.platform.config.ConfigurationManager.init(ConfigurationManager.java:448)
       at com.mantas.dbtools.util.DRMUtility.accessUtility(Unknown Source)
       at com.mantas.dbtools.util.DRMUtility.main(Unknown Source)

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
 Applies to:


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.