My Oracle Support Banner

Attaching Work Repository to Master Repository Throws Error "javax.crypto.BadPaddingException: Given final block not properly padded" (Doc ID 2483552.1)

Last updated on JANUARY 23, 2020

Applies to:

Oracle Data Integrator - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

In Oracle Data Integrator (ODI) Studio throws the Java Error stack below when attaching a work repository to a master repository.

javax.crypto.BadPaddingException: Given final block not properly padded
  at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:991)
  at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847)
  at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
  at javax.crypto.Cipher.doFinal(Cipher.java:2165)
  at oracle.odi.core.security.cryptography.aes.AESCipher.decryptKey(AESCipher.java:267)
  at oracle.odi.core.security.cryptography.aes.AESCipher.decryptPassword(AESCipher.java:447)
  at oracle.odi.ui.wizard.WorkCreationWizard$1.wizardValidatePage(WorkCreationWizard.java:270)
  at oracle.bali.ewt.wizard.WizardPage.processWizardValidateEvent(WizardPage.java:710)
  at oracle.bali.ewt.wizard.WizardPage.validatePage(WizardPage.java:680)
  at oracle.bali.ewt.wizard.BaseWizard.validateSelectedPage(BaseWizard.java:2414)

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


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