Ignore .class
Fix NullPointerException