Troubleshooting
Problem
When starting the CLA2 adapter the error "javax.crypto.IllegalBlockSizeException: Input length (with padding) not multiple of 8 bytes" is shown
Symptom
In the cla2server.log you get the following error messages:
<date-time> CmdLine2RemoteImpl.loadKeystore: START
<date-time> CmdLine2RemoteImpl.loadKeystore: setting the keystore password
javax.crypto.IllegalBlockSizeException: Input length (with padding) not multiple of 8 bytes
at com.ibm.crypto.provider.DESedeCipher.a(Unknown Source)
at com.ibm.crypto.provider.DESedeCipher.engineDoFinal(Unknown Source)
at com.ibm.crypto.provider.DESedeCipher.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.sterlingcommerce.woodstock.services.cmdline2.Cmdline2SecurityUtil.decryptPassphrase(Cmdline2SecurityUtil.java:192)
at com.sterlingcommerce.woodstock.services.cmdline2.Cmdline2SecurityUtil.decryptPassword(Cmdline2SecurityUtil.java:157)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.loadKeystore(CmdLine2RemoteImpl.java:436)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.run(CmdLine2RemoteImpl.java:602)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.main(CmdLine2RemoteImpl.java:754)
java.lang.NullPointerException
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.loadKeystore(CmdLine2RemoteImpl.java:448)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.run(CmdLine2RemoteImpl.java:602)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.main(CmdLine2RemoteImpl.java:754)
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
02 December 2019
UID
swg21972332