My Oracle Support Banner

Unable To Upload Snapshot With "Error In Decrypting file - Incorrect Password Provided" (Doc ID 2663649.1)

Last updated on MAY 04, 2020

Applies to:

Oracle Analytics Cloud - Version 105.5.0 to 105.5.0 [Release 105.3]
Information in this document applies to any platform.

Symptoms

On : Oracle Analytic Cloud 105.5.0 version, BI

Unable to upload snapshot 
Snapshot Failing with below error

java.io.IOException: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
<Time_Stamp> <Error> <Default> <BEA-000000> <Data LCM Util Plugin: encryptArchiveV2...Error in decrypting file - incorrect password provided
at javax.crypto.CipherInputStream.read(CipherInputStream.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at oracle.bi.metadata.lcm.plugin.UtilPluginManager.executeAPI(UtilPluginManager.java:81)
at java.lang.Thread.run(Thread.java:748)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at oracle.bi.metadata.lcm.framework.EncryptArchiveV2.execute(EncryptArchiveV2.java:37)
at oracle.bi.metadata.lcm.util.EncryptionUtil.decryptFile(EncryptionUtil.java:49)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2146)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.crypto.CipherInputStream.getMoreData(CipherInputStream.java:128)
java.lang.IllegalArgumentException: Error in decrypting file - incorrect password provided
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123)
at oracle.bi.metadata.lcm.framework.EncryptArchiveV2.execute(EncryptArchiveV2.java:37)
at oracle.bi.metadata.lcm.util.EncryptionUtil.doPasswordChange(EncryptionUtil.java:96)
at oracle.bi.metadata.lcm.data.util.LCMDataUtilPlugin.encryptArchiveV2(LCMDataUtilPlugin.java:186)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at oracle.bi.metadata.lcm.framework.LCMTaskWorker.call(LCMTaskWorker.java:68)
at oracle.bi.metadata.lcm.framework.EncryptArchiveV2.executeEncryptArchive(EncryptArchiveV2.java:54)
<Time_Stamp> <Error> <oracle.bi.metadata.lcm.util.EncryptionUtil> <BEA-000000> <Error in decrypting File <File_Path>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at oracle.bi.metadata.lcm.framework.EncryptArchiveV2.execute(EncryptArchiveV2.java:37)
<Time_Stamp> <Error> <oracle.bi.metadata.lcm.plugin.UtilPluginManager> <BEA-000000> <Executed of operation encryptArchiveV2 FAILED for oracle.bi.metadata.lcm.data.util.LCMDataUtilPlugin. Status object: false>
at oracle.bi.metadata.lcm.framework.EncryptArchiveV2.executeEncryptArchive(EncryptArchiveV2.java:54)
at oracle.bi.metadata.lcm.data.util.LCMDataUtilPlugin.encryptArchiveV2(LCMDataUtilPlugin.java:186)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

     ################ FAILED UTIL PLUGIN DETAILS ##############
     #############################################################
at oracle.bi.metadata.lcm.plugin.UtilPluginManager.executeUtilPluginAPI(UtilPluginManager.java:40)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at oracle.bi.metadata.lcm.util.EncryptionUtil.decryptFile(EncryptionUtil.java:53)
<Time_Stamp> <Error> <Default> <BEA-000000> <java.lang.IllegalArgumentException: Error in decrypting file - incorrect password provided
>
at javax.crypto.Cipher.doFinal(Cipher.java:2047)
Caused By: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
at java.lang.Thread.run(Thread.java:748)

Snapshot upload failing even with correct credentials

Changes

 

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
Changes
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.