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 ForumsAnnouncementsAnnouncementsStacktrace... helpStacktrace... help
Previous
 
Next
New Post
10/4/2007 11:18 AM
 

 

Please help me.  My announcement module works sometimes and then fails.  This is the exception that is thrown.  I have the latest module.

ModuleId: 399
ModuleDefId: 103
FriendlyName: RCE Events
ModuleControlSource: DesktopModules/Events/Events.ascx
AssemblyVersion: 04.06.02
PortalID: 0
PortalName: Ravens Crest East
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /cms/Home/tabid/36/ModuleID/399/mctl/EventList/Default.aspx
AbsoluteURL: /cms/Default.aspx
AbsoluteURLReferrer: http://ravenscresteast.easycgi.com/cms/
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 648ea8d8-5063-4121-b39e-3c8db56eb0bc
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Events.SelectCategory.get_SelectedCategory
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: 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.Events.SelectCategory.get_SelectedCategory() at DotNetNuke.Modules.Events.EventList.BindDataGrid() at DotNetNuke.Modules.Events.EventList.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: WEB83

 
New Post
10/4/2007 1:40 PM
 

Unfortunately this is one of the most generic error messaged .Net uses. 

Most of the time when you see an error like this it is because the module is trying to load up something that is not there.  For instance, if you had several categories and you selected one for a specific event.  After saving the event you delete the category.  Now you try to edit the even and you get an error because the code is trying to bind a dropdown list of categories and then set the selected item as the category that is not there.  How you are referencing an instance of an object that does not exist.

However there are a lot of reasons that you could get this error.  Needless to say the code is looking for a Selected Category and is not finding it.  I hope this helps a little.


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
10/5/2007 6:21 AM
 

I really appreciate your response.  A couple issues.  I figured out that it was actually the event module that was throwing the exception, duh.  Also I turns out to be a bug in the events module where the category select mechanism in the module breaks it.  The solution is to disable catagory select.  Thanks again for your insight.

 

Robert J Collins, DNNGuru.com wrote

Unfortunately this is one of the most generic error messaged .Net uses. 

Most of the time when you see an error like this it is because the module is trying to load up something that is not there.  For instance, if you had several categories and you selected one for a specific event.  After saving the event you delete the category.  Now you try to edit the even and you get an error because the code is trying to bind a dropdown list of categories and then set the selected item as the category that is not there.  How you are referencing an instance of an object that does not exist.

However there are a lot of reasons that you could get this error.  Needless to say the code is looking for a Selected Category and is not finding it.  I hope this helps a little.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsStacktrace... helpStacktrace... help


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