2070262 - Error "javax.crypto.BadPaddingException: Given final block not properly padded" when testing dispatcher | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2070262 - Error "javax.crypto.BadPaddingException: Given final block not properly padded" when testing dispatcher

Symptom

  • When testing a dispatcher, you got following exception:

    java.lang.Exception: decryptString failed java.lang.Exception: decryptString failed: decryptString failed: decrypt failed: javax.crypto.BadPaddingException: Given final block not properly padded
            at com.sap.idm.util.enc.StringEncIDMUtil.decryptString
            ...
     
  • For IDM 7.2, you may also get error when export/import with Configuration Copy Tool in Identity Center Management Console because of this issue.
  • When starting the relevant dispatcher service on Windows, you get following error:

    Windows could not start the MxDispatcher_<dispatcher name> service on Local Computer.
    Error 1067: The process terminated unexpectedly.


Read more...

Environment

  • SAP Netweaver Identity Management 7.2
  • SAP Identity Management 8.0

Product

SAP Identity Management 8.0 ; SAP NetWeaver Identity Management 7.2

Keywords

IDM, MMC, JDBC URL, prop. , KBA , BC-IAM-IDM , Identity Management , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.