Null checks for SoftReference