Avoid NullPointException as quick-fix.

I don't know why i can be null...