[ https://issues.apache.org/jira/browse/WICKET-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499707 ]
Jean-Baptiste Quenot commented on WICKET-524: --------------------------------------------- This is fixed by Igor already, in a similar way (but more simple) as the patch I submitted in this issue. > ClassCastException in WebRequestCodingStrategy > ---------------------------------------------- > > Key: WICKET-524 > URL: https://issues.apache.org/jira/browse/WICKET-524 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.2.6 > Reporter: Andrew Berman > Assignee: Eelco Hillenius > Priority: Blocker > Fix For: 1.2.7 > > Attachments: > 20070511-wicket126-CryptedUrlWebRequestCodingStrategy-StringArray.txt > > > I upgraded to 1.2.6 and am getting a ClassCastException on line 161 of > WebRequestCodingStrategy. When it calls > request.getParameter(BEHAVIOR_ID_PARAMETER_NAME) it is expecting a String, > but it is returning a String array so I get a classcastexception. I am using > CryptedUrlWebRequestCodingStrategy to build the URLs. The actual bug appears > to be in the WebRequest because it casts to a String which is incorrect, > since the actual parameter is a String array. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.