Hi,

I'm getting errors when deploying my application, which I have just migrated
from wicket 1.2 to 1.3.
The first one is this:

00:52:22,421 ERROR [PasswordTextField] Problem applying encryption; go on
without for now
org.apache.wicket.WicketRuntimeException: Unable to decrypt the text
'[EMAIL PROTECTED]'
        at
org.apache.wicket.util.crypt.AbstractCrypt.decryptByteArray(AbstractCrypt.java:145)
        at
org.apache.wicket.util.crypt.AbstractCrypt.decryptUrlSafe(AbstractCrypt.java:67)
        at
org.apache.wicket.markup.html.form.PasswordTextField.setModelValue(PasswordTextField.java:133)
        at
org.apache.wicket.markup.html.form.persistence.CookieValuePersister.load(CookieValuePersister.java:71)
        at
org.apache.wicket.markup.html.form.Form$1.onFormComponent(Form.java:324)
        at
org.apache.wicket.markup.html.form.FormComponent$AbstractVisitor.formComponent(FormComponent.java:106)
        at
org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:1367)
        at
org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:1354)
        at
org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrder(FormComponent.java:1332)
        at
org.apache.wicket.markup.html.form.Form.visitFormComponentsPostOrder(Form.java:539)
        at
org.apache.wicket.markup.html.form.Form.loadPersistentFormComponentValues(Form.java:308)
        at org.apache.wicket.Page$8.component(Page.java:1371)
        at
org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:793)
        at
org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:808)
        at
org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:808)
        at
org.apache.wicket.Page.setFormComponentValuesFromCookies(Page.java:1366)
        at org.apache.wicket.Page.renderPage(Page.java:807)
        at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:224)
        at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103)
        at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:999)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1061)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1130)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:489)
        at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248)
        at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:595)
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.SunJCE_ae.b(DashoA12275)
        at
com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA12275)
        at javax.crypto.Cipher.doFinal(DashoA12275)
        at
org.apache.wicket.util.crypt.SunJceCrypt.crypt(SunJceCrypt.java:102)
        at
org.apache.wicket.util.crypt.AbstractCrypt.decryptByteArray(AbstractCrypt.java:141)
        ... 43 more


The following errors are MarkupExceptions caused by FeedbackPanel.html
(mismatched close tags).

What could be causing these errors?

Thanks
-- 
View this message in context: 
http://www.nabble.com/1.2-to-1.3-migration-problems-%28javax.crypto.IllegalBlockSizeException-tf3694734.html#a10331962
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to