On Dec 21, 2007 9:29 AM, fattymelt <[EMAIL PROTECTED]> wrote: > > running wicket 1.2.6 and getting the following error. This is somehow > triggered (I wish I had a more specific test case) by my login form. But > what is really strange is that it isn't just appearing on form submission. > Once I see the error in the logs, it occurs even on a page refresh. I am > wondering if this has something to do with reading/writing cookies or > something then? > > [2007-12-21 12:07:35,729][ERROR] Problem applying encryption; go on without > for now > wicket.WicketRuntimeException: Unable to decrypt the text '[EMAIL PROTECTED]' > at > wicket.util.crypt.AbstractCrypt.decryptByteArray(AbstractCrypt.java:187) > at wicket.util.crypt.AbstractCrypt.decrypt(AbstractCrypt.java:68) > at > wicket.markup.html.form.PasswordTextField.setModelValue(PasswordTextField.java:136) > at > wicket.markup.html.form.persistence.CookieValuePersister.load(CookieValuePersister.java:72)
Yeah, seems to be related to how it tries to resurrect cookies for the password field. And easy fix is to turn off the crypting (like I believe we do in 1.3 now?) by setting a dummy implementation of ICrypt. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
