Add the try-catch to avoid crash. Fix: 301362148 Test: build pass Change-Id: Ia1f5a4299d5f0eeffc7b25b0f3b89d56f1647062