Issue #3032426 by mrpauldriver, nilsdestoop, arnaud01, socialnicheguru, davoudseyedi, mailfox, robertoperuzzo: added NULL checking for .