IBM Support

Upgrade to 5.5.x is failing

Troubleshooting


Problem

When upgrading CPE from 5.2.x to 5.5.1 getting the following error:

FNRCC0191E - ERROR DomainUpgrade(MedImpactTest) Background task (UpgraderTask:MedImpactTest) terminated abnormally
com.filenet.api.exception.EngineRuntimeException: FNRCC0191E: CONTENT_CRYPTOGRAPHIC_OP_FAILED: Content Engine failed to encrypt or decrypt data by using the encryption key information that is stored in the "Domain" object store. Message was: Given final block not properly padded


 

Symptom

Error in the logs:

at com.ibm.crypto.provider.AbstractBufferingCipher.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.filenet.engine.context.DomainContext.crypto(DomainContext.java:1439)
... 17 more
2018-12-11T17:08:59.123 B652C5E1 ENG FNRCE0000E - ERROR DomainUpgrade(MedImpactTest) Upgrader task is terminating due to error!
2018-12-11T17:08:59.123 B652C5E1 ENG FNRCC0191E - ERROR DomainUpgrade(MedImpactTest) Background task (UpgraderTask:MedImpactTest) terminated abnormally
com.filenet.api.exception.EngineRuntimeException: FNRCC0191E: CONTENT_CRYPTOGRAPHIC_OP_FAILED: Content Engine failed to encrypt or decrypt data by using the encryption key information that is stored in the "Domain" object store. Message was: Given final block not properly padded
at com.filenet.engine.context.DomainContext.crypto(DomainContext.java:1443)
at com.filenet.engine.context.DomainContext.masterDecrypt(DomainContext.java:1411)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.lang.Thread.run(Thread.java:811)
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
at com.ibm.crypto.provider.AbstractBufferingCipher.a(Unknown Source)

2018-12-11T17:09:02.135 B652C5E1 ENG FNRCE0000I - INFO DomainUpgrade(MedImpactTest) Performing domain upgrade sequence from version '5.2.1.0.71' to version '5.5.1.0.4'...
2018-12-11T17:09:02.161 B652C5E1 ENG FNRCE0000I - INFO DomainUpgrade(MedImpactTest) Derived SymbolicName of 'MedImpactDevTestActiveDirectory' from Directory Configuration instance 'MedImpact Dev/Test Active Directory'.
2018-12-11T17:09:02.175 B652C5E1 ENG FNRCC0191E - ERROR DomainUpgrade(MedImpactTest) Exception encountered with upgrader task, attempt #0
com.filenet.api.exception.EngineRuntimeException: FNRCC0191E: CONTENT_CRYPTOGRAPHIC_OP_FAILED: Content Engine failed to encrypt or decrypt data by using the encryption key information that is stored in the "Domain" object store. Message was: Given final block not properly padded
at com.filenet.engine.context.DomainContext.crypto(DomainContext.java:1443)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.lang.Thread.run(Thread.java:811)
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
at com.ibm.crypto.provider.AbstractBufferingCipher.a(Unknown Source)
 

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSNVNV","label":"FileNet Content Manager"},"Component":"Upgrade","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"5.5.x","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

ibm10791223