Hi,
Seems client state encryption causes this issue.
Try with this;
<context-param>
<param-name>org.apache.myfaces.USE_ENCRYPTION</param-name>
<param-value>false</param-value>
</context-param>
Cagatay
On Fri, Sep 12, 2008 at 4:34 PM, Gertjan van Oosten <[EMAIL PROTECTED]> wrote:
> 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
>