NullPointerException in import of entrances