解决新增VP  loc时的nullpointer异常