java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.iterator()" because the return value of "java.util.HashMap.get(Object)" is null