BugNET

Open source issue tracking & project management

Forums

HomeHomeSupportSupportGeneral SupportGeneral Support"Object reference not set to an instance of an object." error when attempting view BugDetail.aspx"Object reference not set to an instance of an object." error when attempting view BugDetail.aspx
Previous
 
Next
New Post
5/4/2010 10:59 AM
 

This is a peculiar issue and I'm not able to determine if it's b/c of the host provider. I'm getting the following error message when attempting to view BugDetail.aspx:

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

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   BugNET.BugDetail.ExpandIssuePaths(Object sender, SiteMapResolveEventArgs e) +28
   System.Web.SiteMapProvider.ResolveSiteMapNode(HttpContext context) +257
   System.Web.SiteMapProvider.get_CurrentNode() +22
   System.Web.SiteMapProvider.GetCurrentNodeAndHintAncestorNodes(Int32 upLevel) +17
   System.Web.UI.WebControls.SiteMapPath.CreateControlHierarchy() +54
   System.Web.UI.WebControls.SiteMapPath.CreateChildControls() +32
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +44
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

More specifically, it's only happening in a hosted environment where I'm attempting to run BugNET as an IIS Application in a subfolder (~/bugnet/) and the URL represents the BugNET app as a second child of the root URL, where the first child of the root URL is my account name (see below for examples):

www.hostproviderURL.com/myaccount/bugnet/ --> Fails

www.hostprovderURL.com/bugnet/ --> Succeeds

It's odd that the IIS Application config is the same (so the host provider claims) and the physical path is the same. Any thoughts?

Thanks.

 
Previous
 
Next
HomeHomeSupportSupportGeneral SupportGeneral Support"Object reference not set to an instance of an object." error when attempting view BugDetail.aspx"Object reference not set to an instance of an object." error when attempting view BugDetail.aspx


Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.