Server Error in '/ICS' 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.]
   Jenzabar.ICS.Facade.NHibernate.NewsContentFacade.GetPrincipalID(Guid portletId, PortalUser user) +116
   Jenzabar.ICS.Facade.NHibernate.NewsContentFacade.GetListByPermission(IList`1 portletIds, PortalUser user, Int32 count, DateTime start, DateTime end, OrderBy order, Nullable`1 hasAdmin) +523
   Jenzabar.ICS.Facade.NHibernate.NewsContentFacade.GetNext(NewsContent original, PortalUser user, IList`1 portletIds) +232
   Jenzabar.ICS.Facade.NHibernate.NewsContentFacade.GetNext(NewsContent original, PortalUser user) +137
   Jenzabar.ICS.Web.Portlets.NewsPortlet.Views.Controls.NewsPost.RenderViewPostLinks(NewsContent news) +312
   Jenzabar.ICS.Web.Portlets.NewsPortlet.Views.Controls.NewsPost.RenderPostBody() +241
   Jenzabar.ICS.Web.Portlets.NewsPortlet.Views.Controls.NewsPost.RenderNewsPost() +120
   Jenzabar.ICS.Web.Portlets.NewsPortlet.Views.Controls.NewsPost.OnPreRender(EventArgs e) +19
   System.Web.UI.Control.PreRenderRecursiveInternal() +131
   System.Web.UI.Control.PreRenderRecursiveInternal() +226
   System.Web.UI.Control.PreRenderRecursiveInternal() +226
   System.Web.UI.Control.PreRenderRecursiveInternal() +226
   System.Web.UI.Control.PreRenderRecursiveInternal() +226
   System.Web.UI.Control.PreRenderRecursiveInternal() +226
   System.Web.UI.Control.PreRenderRecursiveInternal() +226
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3670


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