Object reference not set to an instance of an object.

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 3161:        dt = con.GetItemsContributions(int.Parse(Request["id"]), Request["name"], (int)Session["id"]);
Line 3162:
Line 3163:        this._titulo = "Contributions from " + Request["name"].Replace("%_%_%", " ");
Line 3164:        this._fecha = "";
Line 3165:

Source File: c:\WWW\tcr\wwwroot\usercontrols\ucDiscography.ascx.cs    Line: 3163

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   usercontrols_ucDiscography.Contributions() in c:\WWW\tcr\wwwroot\usercontrols\ucDiscography.ascx.cs:3163
   usercontrols_ucDiscography.RecargaLista() in c:\WWW\tcr\wwwroot\usercontrols\ucDiscography.ascx.cs:4552
   index.Contributors() in c:\WWW\tcr\wwwroot\index.aspx.cs:1074
   index.Page_Load(Object sender, EventArgs e) in c:\WWW\tcr\wwwroot\index.aspx.cs:63
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4770.0