Error "Unable to decrypt property lisa.http.user.encrypted: Odd number of characters" While playing back a virtual service

Document ID : KB000047130
Last Modified Date : 14/02/2018
Show Technical Document Details


- Virtualised a Web Service over https. Deployed the VS and during play back, it failed throwing the warning below in the workstation.log

WARN com.itko.lisa.test.TestExec - Unable to decrypt property lisa.http.user.encrypted: Odd number of characters. 
org.apache.commons.codec.DecoderException: Odd number of characters. 
at org.apache.commons.codec.binary.Hex.decodeHex( 
at com.itko.util.AESCrypto.decrypt( 
at com.itko.lisa.test.TestExec.decryptValue( 
at com.itko.lisa.test.TestExec.getStateObject( 
at com.itko.lisa.test.TestExec.getStateObject( 
at com.itko.lisa.test.TestExec.getStateObject( 


- DevTest 9.1


- The properties “lisa.http.user” and “lisa.http.password” have been supplied with incorrect credentials.

- This can also happen if the user name or password has an extra space or a typo causing invalid length for the encrypted string



- Check all the DevTest property files and the custom code (if any) to verify where these properties are supplied and ensure the username and password provided is correct without any typos of spaces. Ensure to check the above on all the machines where DevTest is distributed on.