Wicket
  1. Wicket
  2. WICKET-524

ClassCastException in WebRequestCodingStrategy

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.2.6
    • Fix Version/s: 1.2.7
    • Component/s: wicket
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

            People

            • Assignee:
              Eelco Hillenius
              Reporter:
              Andrew Berman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development