Check for grid null exception