Server Error in '/' 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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   CommunityServer.Components.Globals.Redirect301(HttpContext Context, String url) +56
   CommunityServer.Data.<GetPostAsync>d__12.MoveNext() +1349
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   System.Runtime.CompilerServices.ConfiguredTaskAwaiter.GetResult() +32
   CommunityServer.Discussions.Components.Posts.GetPost(Int32 postID, Int32 userID, Boolean trackViews, Boolean markRead, Boolean includeCategories) +634
   CommunityServer.Discussions.Components.Posts.GetPost(Int32 postID, Int32 userID, Boolean trackViews, Boolean markRead) +79
   CommunityServer.Discussions.Components.Posts.GetPost(Int32 postID, Int32 userID) +53
   CommunityServer.Discussions.Controls.CSForumThemePage.get_CurrentParentPost() +528
   CommunityServer.Discussions.Controls.CSForumThemePage.get_CurrentSection() +439
   CommunityServer.Discussions.Controls.CSForumThemePage.get_CurrentForum() +55
   CommunityServer.Discussions.Controls.CSForumThemePage.OnInit(EventArgs e) +140
   System.Web.UI.Control.InitRecursive(Control namingContainer) +173
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +491


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0