Defect/error page handler/npe from null cache entry

Prevents null objects from being added to the Cache (uses empty strings instead).

Handles cases where nulls get into the cache (should not be possible) and treats them as empty strings instead.