Just a bit more information: I switched non-crypted request and response. With that change, application works just fine.

-Ramnivas

Ramnivas Laddad wrote:
I have a tree with each node containing an AjaxLink. Clicking on certain links works correctly, but others fail with a 500 error.

I am using WebRequestWithCryptedUrl, creating by my application as follows: protected WebRequest newWebRequest(HttpServletRequest servletRequest) {
       return new WebRequestWithCryptedUrl(servletRequest);
   }

While trying to debug the problem, I see that for the failed links, a BadPaddingException (with message "Given final block not properly padded") is thrown when AbstractCrypt.decryptStringToByteArray() calls the crypt() method. This in turn throws a WicketRuntimeException leading to a 500 error.

I am using just the default crypt factory and this is with 1.2-beta3.

Any ideas what could be the problem.

-Ramnivas



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to