List Info

Thread: Object reference not set to an instance of an object




Object reference not set to an instance of an object
user name
2006-04-07 12:22:35
On our web site, which as a fair amount of trafic, we get a
large number
of errors. I get emailed notifications of such. If you go to
the page it
load and looks fine. We are running the 2.0 framework. 

Is this a  case where the web server is loosing track of
something. The
AWSystems code is a DLL written by another group but it
handles (as you
can see) the bread crumbs and banner display amoung other
things. Since
it's not an error that I can duplicate it makes debugging
tougher. 

Is this a normal problem with asp.net web sites?

Pat




The following 500 error occurred on the page:
http://www.habitat.org/disaster/2004/asia_tsunami/
default.aspx

System.NullReferenceException: Object reference not set to
an instance
of an object.
   at AWSystems.Framework.Navigation.GetBreadCrumb()
   at
AWSystems.Framework.NavigationPageCollection.get_CurrentPage
()
   at
AWSystems.Framework.NavRenderer.DisplayBannerImage(Int32
width,
Int32 height)
   at Controls.Banner.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint)

StackTrace:
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext
context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at
ASP.disaster_2004_asia_tsunami_default_aspx.ProcessRequest(H
ttpContext
context)
   at
System.Web.HttpApplication.CallHandlerExecutionStep.System.W
eb.HttpAppli
cation.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step,
Boolean& completedSynchronously)

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Object reference not set to an instance of an object
user name
2006-04-07 12:46:50
Hi,

Is it possible to install the *.pdb files of the component
libraries as well?
It will give you line numbers of what is exactly failing.

You can turn this setting on at (in release configuration)
the
properties dialog of the component project, build tab,
advanced... 
button: Debug Info: pdb only.

// Ryan

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )