Nulls in cache causing app crashes

diff without whitespace