Fórum

javax.crypto.BadPaddingException: Given final block not properly padded

Ram A, modificado 11 Anos atrás.

javax.crypto.BadPaddingException: Given final block not properly padded

Junior Member Postagens: 76 Data de Entrada: 16/01/13 Postagens Recentes
Hi ,

I am using liferay 6.0.6.
I am getting the below error.

15:43:50,787 ERROR [AutoLoginFilter:231] Current URL /web/guest/ generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.BadPaddingException: Given final block not properly padded
15:43:51,969 ERROR [AutoLoginFilter:231] Current URL /web/guest/ generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.BadPaddingException: Given final block not properly padded
15:43:51,971 ERROR [AutoLoginFilter:231] Current URL /web/guest/ generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.BadPaddingException: Given final block not properly padded
15:43:52,026 ERROR [AutoLoginFilter:231] Current URL /web/guest/ generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.BadPaddingException: Given final block not properly padded

I am not sure why it is coming.


Please help me resolve this issue.


Thanks in advance
Ram A
thumbnail
Subhash Pavuskar, modificado 10 Anos atrás.

RE: javax.crypto.BadPaddingException: Given final block not properly padded

Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
Hi ,
Did you solved this issue ? Because i am also facing same problem !!
thumbnail
Bart Simpson, modificado 10 Anos atrás.

RE: javax.crypto.BadPaddingException: Given final block not properly padded

Liferay Master Postagens: 522 Data de Entrada: 29/08/11 Postagens Recentes
I had a similar one, if it helps, in my case there was some CSS added on the page, removing it resolved it, so could be related to some css
Christophe Noel, modificado 9 Anos atrás.

RE: javax.crypto.BadPaddingException: Given final block not properly padded

Junior Member Postagens: 99 Data de Entrada: 28/09/12 Postagens Recentes
It probably can be solved by deleting all the cookies related to the domain (not only the host).