Solved

Object reference not set to an instance of an object

Posted on 2004-04-05
6
362 Views
Last Modified: 2010-04-17
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

0
Comment
Question by:Doina_V
6 Comments
 
LVL 3

Accepted Solution

by:
GoSu earned 53 total points
ID: 10762088
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
 
LVL 22

Assisted Solution

by:cookre
cookre earned 52 total points
ID: 10762210
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
 

Author Comment

by:Doina_V
ID: 10762694
Thanks. It's in re. to:
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
0
 
LVL 12

Expert Comment

by:farsight
ID: 10762806
For more help, show us code for DLounge.FX.subLoad() and tell us the line where the error happens (98?).
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now