SAP Knowledge Base Article - Preview

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


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



  • SAP Netweaver Identity Management 7.2
  • SAP Identity Management 8.0


SAP Identity Management 8.0 ; SAP NetWeaver Identity Management 7.2


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 for Me (Login required).

Search for additional results

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