com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via liferay.com by Unknown author, 1 year ago
com.liferay.util.EncryptorException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
via liferay.com by Unknown author, 1 year ago
com.liferay.util.EncryptorException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
via Liferay Issues by Albert Lee, 11 months ago
com.liferay.util.EncryptorException: javax.crypto.BadPaddingException: Given final block not properly padded
via Liferay Issues by Albert Lee, 1 year ago
com.liferay.util.EncryptorException: javax.crypto.BadPaddingException: Given final block not properly padded
com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
at com.liferay.util.Encryptor.decryptUnencodedAsString(Encryptor.java:159)
at com.liferay.util.Encryptor.decrypt(Encryptor.java:128)
at com.liferay.portal.util.PortalImpl.getDoAsUserId(PortalImpl.java:3378)
at com.liferay.portal.util.PortalImpl.getUserId(PortalImpl.java:2560)
at com.liferay.portal.util.PortalUtil.getUserId(PortalUtil.java:759)
at com.liferay.portlet.PortletRequestImpl.init(PortletRequestImpl.java:629)
at com.liferay.portlet.RenderRequestFactory.create(RenderRequestFactory.java:63)
at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:910)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2884)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.