Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumObject reference not set to an instance of an object - BreadCrumbsObject reference not set to an instance of an object - BreadCrumbs
Previous
 
Next
New Post
1/6/2006 3:04 AM
 

I'm not sure if this is related to my issue with attachments or not, but I went back and reviewed my site log afterwards and noticed the following exception.  I'm not quite sure how to reproduce it though, sorry.

AssemblyVersion: 04.00.02
Method: DotNetNuke.Modules.Forum.ForumBaseControl.get_BreadCrumbs
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: snip
UserID: 2
UserName: admin
ActiveTabID: 56
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://snip/Discussions/tabid/56/Default.aspx
ExceptionGUID: 4c541c68-ca8b-4614-98e7-b05f91dff883
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.ForumBaseControl.get_BreadCrumbs()
StackTrace:
Source:

 
New Post
1/6/2006 11:00 AM
 
What version of DNN and what version of the module.  This is not related to attachments, this is related to the breadcrumb generated for navigation. 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
1/6/2006 3:08 PM
 

Sorry, I had it in my other post: I have DNN 4.00.02 with 3.20.01 Forums installed. 

I've also hit a couple more exceptions in the Forum module:

AssemblyVersion: 04.00.02
Method: DotNetNuke.Modules.Forum.ForumInfo.Render
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: snip
UserID: 12
UserName: snip
ActiveTabID: 56
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://snip/Discussions/tabid/56/Default.aspx
ExceptionGUID: 3cfcfbfa-d58c-4750-9c79-1e297937e1c6
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.ForumInfo.Render(HtmlTextWriter wr, DNNForum Forum, Int32 Count)

AssemblyVersion: 04.00.02
Method: DotNetNuke.Modules.Forum.ThreadSearch.CreateChildControls
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: snip
UserID: 6
UserName: snip
ActiveTabID: 56
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://snip/Discussions/tabid/56/forumid/1/scope/threads/Default.aspx
ExceptionGUID: 4fb64345-9ce2-41db-bb4f-83c7e23f4070
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.ThreadSearch.CreateChildControls() at DotNetNuke.Modules.Forum.DNNForum.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.Modules.Forum.ForumBaseControl.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

AssemblyVersion: 04.00.02
Method: DotNetNuke.Modules.Forum.Groups.RenderGroups
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Snip
UserID: 12
UserName: Snip
ActiveTabID: 56
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: dda53cc8-c35f-4d36-b1d2-c0746a13602c
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.Groups.RenderGroups(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Groups.Render(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.ForumBaseControl.Render(HtmlTextWriter wr) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.desktopmodules_forum_forum_container_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at DotNetNuke.Entities.Modules.PortalModuleBase.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Not sure if this one is your's or not:

AssemblyVersion: 04.00.02
Method: DotNetNuke.Entities.Users.UserOnlineController.TrackAuthenticatedUser
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: snip
UserID: 12
UserName: snip
ActiveTabID: 56
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://snip/Discussions/tabid/56/Default.aspx
ExceptionGUID: ab2f1e57-fc8d-41f3-8cda-2b6ac2ea7ec3
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error:
Message: System.Exception: Unhandled Error: ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Users.UserOnlineController.TrackAuthenticatedUser(HttpContext context) at DotNetNuke.Entities.Users.UserOnlineController.TrackUsers() at DotNetNuke.HttpModules.UsersOnlineModule.OnAuthorizeRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---

 
New Post
1/22/2006 2:59 PM
 

Hey Crispy - I hit the RenderGroups exception, this time in the debugger.  Its in ForumGroup.vb, Function RenderGroups, Line 567.

If CType(ForumControl.Settings("groupid"), String) <> "" Then

ForumControl.Settings = Null

Looking at Settings, it looks like if ViewState("ForumSettings") is null, then Settings will indeed return null.  Since I'm just beginning to dive in your design, I have no suggestions at present why this happened or how to fix it (where Settings should be set).

Thanks,
James

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumObject reference not set to an instance of an object - BreadCrumbsObject reference not set to an instance of an object - BreadCrumbs


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out