Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-772

IndexOutOfBoundsException in BehaviorRequestTarget

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-beta2
    • 1.3.0-beta3
    • wicket
    • None

    Description

      If you remove an AjaxTimerBehavior from a component through another Ajax request, the timer will fire from the browser later and cause an IndexOutOfBoundsException in BehaviorRequestTarget.

      This is because BehaviorRequestTarget improperly checks for a null return value from List.get() to determine if the behavior is there. Obviously, instead it should check if List.size() > idAsInt.

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            jimmclaughlin Jim McLaughlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: