[ http://mc4j.org/jira/browse/STS-320?page=comments#action_10560 ] Mark Vanderflugt commented on STS-320: --------------------------------------
Also, before the stack trace the ExceptionHandler catches this error: [22 Dec 2006 12:42:00,655] ERROR uiowa.serverregistration.util.ExceptionHandler Unhandled Exception: net.sourceforge.stripes.exception.StripesRuntimeException: Could not generate a Cipher. It's possible there is something wrong with the Cipher.init(int, Key) method. > Could not encrypt value > ----------------------- > > Key: STS-320 > URL: http://mc4j.org/jira/browse/STS-320 > Project: Stripes > Issue Type: Bug > Affects Versions: Release 1.3.2, Release 1.4.2 > Environment: XP Pro, Tomcat 5.5.17, jdk1.5.07, IE 7.0 > Reporter: Mark Vanderflugt > Assigned To: Tim Fennell > > This 'Could not encrypt value' is eventually repeatable. Here's the steps I > took before it occurred: > I've been working on the project for over a month, and prior to a couple days > ago had never received this error. > This execution of steps has occurred three times: > 1. Restarted Tomcat, tested the application and it worked fine. > 2. Came back to the application 10 hours later, and got the 'Could not > encrypt value' error. > I can never get the error to occur if I've restarted tomcat recently, only if > it's been a number of hours since I tried it. Here's the stack trace: > net.sourceforge.stripes.exception.StripesRuntimeException: Could not encrypt > value. > net.sourceforge.stripes.util.CryptoUtil.encrypt(CryptoUtil.java:68) > > net.sourceforge.stripes.tag.FormTag.writeFieldsPresentHiddenField(FormTag.java:286) > net.sourceforge.stripes.tag.FormTag.doEndTag(FormTag.java:213) > > org.apache.jsp.jsp.serverlist_jsp._jspx_meth_stripes_form_0(org.apache.jsp.jsp.serverlist_jsp:393) > > org.apache.jsp.jsp.serverlist_jsp._jspService(org.apache.jsp.jsp.serverlist_jsp:199) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:104) > > net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:484) > > net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:157) > > net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:107) > > net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:154) > > net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:73) > > net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:478) > > net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:249) > > net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:166) > > net.sourceforge.stripes.controller.DispatcherServlet.doGet(DispatcherServlet.java:61) > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:181) > Thanks, > Mark -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
