Closed eagwasim closed 6 years ago
This seems to be a duplicate of https://github.com/ninjaframework/ninja/issues/532
There a fix included in Ninja awhile ago for this -- what version of Ninja are you running?
5.8.0
That issue is fixed per #532 . You'll either want to install the JCE extension to your new Java install or bump the Ninja version up to take care of it. Or both.
java.lang.RuntimeException: javax.crypto.BadPaddingException: Given final block not properly padded ninja.utils.CookieEncryption.decrypt(CookieEncryption.java:139) ninja.session.SessionImpl.init(SessionImpl.java:117) ninja.utils.AbstractContext.init(AbstractContext.java:95) ninja.servlet.NinjaServletContext.init(NinjaServletContext.java:128) ninja.servlet.NinjaServletDispatcher.service(NinjaServletDispatcher.java:82) com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287) com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277) com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119) com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133) com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130) com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203) com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)