Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0-beta2
-
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.