[Tomahawk] Tomahawk 1.1.7 inputSuggestAjax problem
2008-06-16 15:01 lu4242 When I use the current inputSuggestAjax from Tomahawk 1.1.7-SNAPSHOT I get the following stacktrace: 12 sep 2008 15:16:26 ERROR (_ErrorPageWriter.java:460) - An exception occurred javax.faces.FacesException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at org.apache.myfaces.shared_impl.util.StateUtils.symmetric(StateUtils.java:373) at org.apache.myfaces.shared_impl.util.StateUtils.symmetric(StateUtils.java:411) at org.apache.myfaces.shared_impl.util.StateUtils.decrypt(StateUtils.java:291) at org.apache.myfaces.shared_impl.util.StateUtils.reconstruct(StateUtils.java:240) at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getSavedState(HtmlResponseStateManager.java:187) at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getState(HtmlResponseStateManager.java:139) at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:306) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:515) at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316) [...] Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at org.apache.myfaces.shared_impl.util.StateUtils.symmetric(StateUtils.java:369) ... 61 more 12 sep 2008 15:16:26 WARN (DefaultAddResource.java:363) - MyFaces special javascript could not be retrieved from request-map. When I revert the following change in FacesIO.js: * [r668179] core/src/main/resources/org/apache/myfaces/custom/dojoextensions/resource/FacesIO.js: TOMAHAWK-1157 tableSuggestAjax not render with trinidad the inputSuggestAjax works again as before. This is with MyFaces-1.2.4, Tomahawk/sandbox 1.1.7-SNAPSHOT and Facelets. Can this be fixed before the 1.1.7 release? Regards, -- -- Gertjan van Oosten, Principal Consultant, West Consulting B.V. -- [EMAIL PROTECTED] +31 15 2191 600 www.west.nl
Re: [Tomahawk] Tomahawk 1.1.7 inputSuggestAjax problem
Hi, As quoted from Cagatay Civici [EMAIL PROTECTED]: Seems client state encryption causes this issue. Try with this; context-param param-nameorg.apache.myfaces.USE_ENCRYPTION/param-name param-valuefalse/param-value /context-param That works, but that can only be considered a work-around, not a real solution. Regards, -- -- Gertjan van Oosten, Principal Consultant, West Consulting B.V. -- [EMAIL PROTECTED] +31 15 2191 600 www.west.nl
Re: [Tomahawk] Tomahawk 1.1.7 inputSuggestAjax problem
That works, but that can only be considered a work-around, not a real solution. I never said that it is a real solution. Also please use users list for such questions and more. On Fri, Sep 12, 2008 at 4:51 PM, Gertjan van Oosten [EMAIL PROTECTED] wrote: Hi, As quoted from Cagatay Civici [EMAIL PROTECTED]: Seems client state encryption causes this issue. Try with this; context-param param-nameorg.apache.myfaces.USE_ENCRYPTION/param-name param-valuefalse/param-value /context-param That works, but that can only be considered a work-around, not a real solution. Regards, -- -- Gertjan van Oosten, Principal Consultant, West Consulting B.V. -- [EMAIL PROTECTED] +31 15 2191 600 www.west.nl
Re: [Tomahawk] Tomahawk 1.1.7 inputSuggestAjax problem
As quoted from Cagatay Civici [EMAIL PROTECTED]: That works, but that can only be considered a work-around, not a real solution. I never said that it is a real solution. I never said you said so. ;-) Also please use users list for such questions and more. I try to be very careful in which list I choose to mail to. If I have a question about how to do something, I will use the users list; if I want to report a bug to the developers, I tend to use the dev list (to make sure it is a bug before raising a JIRA issue). Is that so strange? Please enlighten me! Regards, -- -- Gertjan van Oosten, Principal Consultant, West Consulting B.V. -- [EMAIL PROTECTED] +31 15 2191 600 www.west.nl