Reading from TreeMap, program always throws an exception

Printable View