当对象不为null时抛出NullReference

当对象不为null时抛出NullReference