I have this line of code in my page load.
string sId = Request["sId"];
//couple of more initializations
if (!string.IsNullOrEmpty(sId))
{
Guid GuidThingId = Guid.Parse(sId); //line 73
//method continues.
In my production logs, for some users I see Null Exception at line 73. Object reference not set to an instance of an object.
Any idea of what's going on?
-Edit- By looking at the $Guid.Parse$ I see that it can only returns below Exceptions.
// Exceptions:
// System.ArgumentNullException:
// input is null.
//
// System.FormatException:
// input is not in a recognized format.
//
// System.Exception:
// An internal type conversion error occurred.