Object reference not set to an instance of an object

What does this error mean?
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
   DLounge.FX.subLoad(Boolean bReload) +98
   DLounge.FX.Page_Load(Object sender, EventArgs e) +112
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +731

Doina_VAsked:
Who is Participating?
 
GoSuConnect With a Mentor Commented:
It means you are trying to do something with an object that is set to null. It's occuring somewhere within the subload function, thats about all I can tell you without the source code.
0
 
cookreConnect With a Mentor Commented:
In general, whenever something is a class (as opposed to an elementary data type like string or int), jusr declaring it is not sufficient to create it. You need to create it with a 'new' - and that includes mrthods being passed as parameters.
0
 
Doina_VAuthor Commented:
Thanks. It's in re. to:
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
0
 
farsightCommented:
For more help, show us code for DLounge.FX.subLoad() and tell us the line where the error happens (98?).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.