I want to iterate through the HashMap and this is part of the code:
HashMap<Long, Integer> users = ((HashMap<Long, Integer>) getArguments().getSerializable("HashMap"));
Iterator it = users.entrySet().iterator();
04-25 19:13:31.070: E/AndroidRuntime(1446): java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Set java.util.HashMap.entrySet()' on a null object reference
I looked at the users variable and it does contain a table with keys and values.