NPE checker