I'm confused as to how to work around the null pointer exception with this object.
map.put("Baby", null);
map.put("Hugs", 111111111111L);   <--------- This is also not correct, right???
Here is the code to get the value. Does toString() not work on null objects?
String value = person.getValue().toString();
I also tried to change the things put in the HashMap but it won't let you do that. Very confused.