Addressed null pointer exception when getting frob