Null exception catch. Needs to be investigated though.