handle NullPointerException for Vibrator.vibrate