How to solve NullPointerException in runtime?

Printable View