finding the java.util.NoSuchElementException