WICKET-5466 watch out for null component; break early from method