Why are you using Hashtable?
You realise Hashtable does not allow
null values for keys or values, and will probably throw that Exception if you try to use pass a
null parameter to any of its methods. You can verify that by reading the documentation for
Hashtable and its get method.