Server Error in '/asycs' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   CommunityServer.Discussions.Components.PrivateMessages.GetOriginalRecipient(ForumPost message) +339
   CommunityServer.Discussions.Components.ForumFormatter.FormatPrivateMessageRecipients(PrivateMessage message) +25
   ASP.themes_astronomy2007_user_userprofile_aspx.__DataBind__control240(Object sender, EventArgs e) +120
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
   System.Web.UI.Control.DataBind() +12
   System.Web.UI.Control.DataBindChildren() +204
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
   System.Web.UI.Control.DataBind() +12
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +130
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +454
   CommunityServer.Controls.WrappedRepeater.CreateControlHierarchy(Boolean useDataSource) +142
   CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.CreateControlHierarchy(Boolean useDataSource) +369
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53
   CommunityServer.Controls.WrappedRepeater.OnDataBinding(EventArgs e) +11
   System.Web.UI.WebControls.Repeater.DataBind() +72
   CommunityServer.Controls.WrappedRepeater.DataBind() +101
   CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.DataBind() +12
   CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +28
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +318
   System.Web.UI.ControlCollection.Add(Control child) +146
   CommunityServer.Controls.WrappedContentBase.AddContentControls() +117
   CommunityServer.Controls.WrappedContentBase.CreateControlHierarchy() +104
   CommunityServer.Controls.WrappedContentBase.CreateChildControls() +29
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +50
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433