java.lang.IllegalStateException: Unable to crypt bytes with cipher [javax.crypto.Cipher@4ab40a].

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 Sonatype JIRA by Kristine O'Connor, 1 year ago
Unable to crypt bytes with cipher [javax.crypto.Cipher@4ab40a].
via Sonatype JIRA by Kristine O'Connor, 1 year ago
Unable to crypt bytes with cipher [javax.crypto.Cipher@4ab40a].
via Sonatype JIRA by Kristine O'Connor, 1 year ago
Unable to crypt bytes with cipher [javax.crypto.Cipher@1a11151].
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.BlowfishCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..)
at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:124)
at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:142)
at org.jsecurity.crypto.BlowfishCipher.decrypt(BlowfishCipher.java:98)
at org.jsecurity.subject.AbstractRememberMeManager.decrypt(AbstractRememberMeManager.java:243)
at org.jsecurity.subject.AbstractRememberMeManager.getRememberedPrincipals(AbstractRememberMeManager.java:192)
at org.jsecurity.mgt.DefaultSecurityManager.getRememberedIdentity(DefaultSecurityManager.java:402)
at org.jsecurity.web.DefaultWebSecurityManager.getPrincipals(DefaultWebSecurityManager.java:179)
at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:217)
at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:213)
at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:202)
at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:417)
at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:424)
at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:367)
at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

Users with the same issue

You are the first who have seen this exception.

Write tip

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