Merge "Add null pointer judgment processing to prevent restarting" into main