Early Warning Services interview question

How do you resolve NullPointerException?