Ah, I see the issue. I am making a new RedirectResolution and am adding a
"_sourcePage" parameter to that. It works on some because I didn't have any
validation errors, but on this one I do and it's trying to redirect to the
sourcePage. Any ideas on how I can get around this? I see that the
sourcePage parameter in actual links is no encrypted, but this si coming
from with in an actionBean already.
Thanks!
-Nick
On Mon, Jul 14, 2008 at 12:48 PM, Nick Stuart <[EMAIL PROTECTED]>
wrote:
> I seem to have encountered a weird issue. I've been using these pages for
> awhile now and nothing on OUR side of stripes has changed since we upgraded
> to the latest 1.5 release. But I am trying to view a page and am getting the
> following stack trace:
> java.lang.IllegalArgumentException: Null input buffer
> at javax.crypto.Cipher.doFinal(DashoA13*..)
> at
> net.sourceforge.stripes.util.CryptoUtil.decrypt(CryptoUtil.java:192)
> at
> net.sourceforge.stripes.action.ActionBeanContext.getSourcePage(ActionBeanContext.java:249)
> at
> net.sourceforge.stripes.action.ActionBeanContext.getSourcePageResolution(ActionBeanContext.java:226)
> at
> net.sourceforge.stripes.controller.DispatcherHelper.handleValidationErrors(DispatcherHelper.java:374)
> at
> net.sourceforge.stripes.controller.DispatcherServlet.handleValidationErrors(DispatcherServlet.java:277)
> at
> net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:163)
> at
> net.sourceforge.stripes.controller.DispatcherServlet.doGet(DispatcherServlet.java:67)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
>
> This is when I include the source page in the link and when I don't. Not
> sure whats going on here, but most of my pages seem to work just fine.
> Haven't tested them all yet, but was able to go through 'similar' pages just
> fine.
>
> Any ideas?
> -Nick
>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users