If it is happening on this line
string a = Request.Params.ToString();
has not been initialised or does not contain
So your problem is not in this code, but elsewhere in your form, before you get to the point where you click the button.
returns a collection so
will just return descriptive text, not any value.
Further reference with an example...at msdn