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 ForumsForumForum Page Load Exception - DotNetNuke.Modules.Forum.ForumBaseObject.RenderImage Page Load Exception - DotNetNuke.Modules.Forum.ForumBaseObject.RenderImage
Previous
 
Next
New Post
1/20/2006 10:41 PM
 
Hi All,

After upgrading DNN 3.1.0 to DNN 3.2.2 and forum 3.2.1, most of my previously working forums can not be accessed. The module page works but when I click on an individual forum, I get "Object reference not set to an instance of an object" (detailed error below). Not sure if it matters, but the only one of my forums that doesn't throw this error (i.e. it displays fine) is one that happens to have no threads.

Any ideas?

Thanks Much,
Scot.

Here is the error from the log:

AssemblyVersion: 03.02.02
Method: DotNetNuke.Modules.Forum.ForumBaseObject.RenderImage
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ObjectRoleModeling.com
UserID: 2
UserName: host
ActiveTabID: 27
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.objectrolemodeling.com/Discussions/tabid/27/Default.aspx
ExceptionGUID: 69ef3883-2f7e-472a-933b-09efb2155a97
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.ForumBaseObject.RenderImage(HtmlTextWriter wr, String ImageUrl, String Tooltip, String Css) at DotNetNuke.Modules.Forum.Threads.RenderThreadInfo(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Threads.RenderThreads(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Threads.Render(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.ForumBaseControl.Render(HtmlTextWriter wr) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at _ASP.Forum_Container_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) 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.RenderControl(HtmlTextWriter writer) 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.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) 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.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.template_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) 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.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.Default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: XXXXXXX

 
New Post
1/21/2006 1:59 AM
 

Scot,

I don't know of anything that would cause this.  I would try going into manage each forum and just update the settings, then try again.  Next, I would try posting in the empty one and see what happens.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
1/21/2006 10:03 AM
 
Updating the settings had no effect. When I posted to the one forum that didn't throw an error, I again got "Object reference not set to an instance of an object." (detailed error text in log has the same method as before). Trying to access that forum results in the same error as for the other ones.

Any other ideas?

Not sure if there is any relation, but my logs now also have lots of the errors below. The last one appears to be at the same method but is a different exception (general instead of page load).

Thanks Much,
Scot.

ModuleId: 488
ModuleDefId: 100
FriendlyName: User Profile
ModuleControlSource: DesktopModules/Forum/Forum_UserProfile.ascx
AssemblyVersion: 03.02.02
Method: System.Text.StringBuilder.AppendFormat
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ObjectRoleModeling.com
UserID: -1
UserName:
ActiveTabID: 27
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 15d6193d-907d-4930-bac1-5d6de715cfe8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Value cannot be null. Parameter name: format
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) at DotNetNuke.Modules.Forum.User.Profile.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: XXXXXX

AssemblyVersion: 03.02.02
Method: System.String.Format
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ObjectRoleModeling.com
UserID: -1
UserName:
ActiveTabID: 27
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: f4d493a5-dcd6-4366-96a3-e0388ebafedb
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Value cannot be null. Parameter name: format
Message: DotNetNuke.Services.Exceptions.PageLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.String.Format(IFormatProvider provider, String format, Object[] args) at DotNetNuke.Modules.Forum.ThreadInfo.get_RatingText() at DotNetNuke.Modules.Forum.Posts.RenderFooter(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Posts.Render(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.ForumBaseControl.Render(HtmlTextWriter wr) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at _ASP.Forum_Container_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) 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.RenderControl(HtmlTextWriter writer) 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.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.template_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) 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.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.Default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name:
XXXXXX

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 03.02.02
Method: System.Data.SqlClient.SqlConnection.OnError
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ObjectRoleModeling.com
UserID: -1
UserName:
ActiveTabID: 1
ActiveTabName: Home
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: d2400e90-5e23-40d0-9a34-8496ed65fd9b
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, TdsParserState state) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected) at System.Data.SqlClient.TdsParser.ReadBuffer() at System.Data.SqlClient.TdsParser.ReadByteArray(Byte[] buff, Int32 offset, Int32 len) at System.Data.SqlClient.TdsParser.ReadString(Int32 length) at System.Data.SqlClient.TdsParser.ReadValue(_SqlMetaData md, Int32 length) at System.Data.SqlClient.TdsParser.ProcessRow(_SqlMetaData[] columns, Object[] buffer, Int32[] map, Boolean useSQLTypes) at System.Data.SqlClient.SqlDataReader.PrepareRecord(Int32 i) at System.Data.SqlClient.SqlDataReader.GetValue(Int32 i) at DotNetNuke.Common.Utilities.CBO.CreateObject(Type objType, IDataReader dr, ArrayList objProperties, Int32[] arrOrdinals) at DotNetNuke.Common.Utilities.CBO.FillCollection(IDataReader dr, Type objType, IList& objToFill) at DotNetNuke.Common.Lists.ListController.GetListEntryInfoCollection(String ListName, String Value, String ParentKey) at DotNetNuke.UI.UserControls.Address.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name:
XXXXXX

AssemblyVersion: 03.02.02
Method: DotNetNuke.Modules.Forum.ForumBaseObject.RenderImage
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ObjectRoleModeling.com
UserID: -1
UserName:
ActiveTabID: 27
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: c565dc20-8223-4ca9-92a1-a85907834296
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.ForumBaseObject.RenderImage(HtmlTextWriter wr, String ImageUrl, String Tooltip, String Css) at DotNetNuke.Modules.Forum.Posts.RenderAuthor(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven, Boolean ShowDetails) at DotNetNuke.Modules.Forum.Posts.RenderPost(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven, Boolean ShowDetails) at DotNetNuke.Modules.Forum.Posts.RenderPosts(HtmlTextWriter wr)
StackTrace:
Source:
Server Name:
XXXXXX
 
New Post
1/21/2006 10:16 AM
 
A follow-up/some other weird behavior:

The Forum Administration menu item is there but has no text (the little pencil icon is there and when I click on the space I get to the forum admin page).

The test post I made in the previously working forum shows up in the RSS feed. Following the link of that post (http://www.objectrolemodeling.com/Default.aspx?tabid=1&forumid=31&scope=posts&threadid=435) results in the main page of the portal loading (not the thread/forum page). Clicking on any old (pre-upgrade) forum post from my RSS reader results in the same behavior. I don't think any exception is being thrown when it does this.

The counts on the main forum page were updated as well.

Selecting the "my posts" link results in the same exception. Searching returns no results even for terms I know are in there.

Yesterday, I tried reinstalling the module and forcing the 3.1 to 3.2.2 upgrade again and both worked with no errors.

FYI,
Scot.
 
New Post
1/21/2006 4:24 PM
 

You need to check the user aliases. It seems that for some reason some of them are "" (aka nothing).  You can usually do this from the Manage Users Section or manually from the db.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForum Page Load Exception - DotNetNuke.Modules.Forum.ForumBaseObject.RenderImage Page Load Exception - DotNetNuke.Modules.Forum.ForumBaseObject.RenderImage


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