"Object reference not set to an instance of an object" Issue

523 views Asked by At

I have inherited a webforms application that was working and now is not.

The error text is "Object reference not set to an instance of an object. ".

Im sorry it is sooo generic, but I was wondering if anyone could read the Stack Trace and point me in right direction?

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
GAP07.Index_UK.LoadData() +2060
GAP07.Index_UK.Page_Load(Object sender, EventArgs e) +5
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750

Version Information: Microsoft .NET Framework Version:1.1.4322.2443; ASP.NET Version:1.1.4322.2470

Thanks Paul

screenshot

1

There are 1 answers

1
Moose On BEST ANSWER

You are probably reading data in LoadData(), and that is returning null for an object.. Then you are trying to access a member or property of that object. Hard to tell more from the stack trace.