More in this section

Forums / General Discussions / Error on TIU NewsAndEvents

Error on TIU NewsAndEvents

2 posts, 0 answered
  1. Vangelis
    Vangelis avatar
    153 posts
    Registered:
    07 Jan 2006
    04 Sep 2007
    Link to this post

    Hello,

    I've tried to edit http://localhost/telerik/TIUSite/AboutUs/NewsAndEvents.aspx?cmspagemode=edit and I face the below error. It's the only page I faced an error. Is this from installation?

    Best regards

    Vagelis

    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:

    Line 73: 
    Line 74: 		List<IMetaSearchInfo> filter = new List<IMetaSearchInfo>();
    Line 75: 		filter.Add(new MetaSearchInfo(MetaValueTypes.DateTime,
    Line 76: 						this.newsList.PublicationDateField, DateTime.Now, SearchCondition.LessOrEqual));
    Line 77: 		filter.Add(new MetaSearchInfo(MetaValueTypes.DateTime,

    Source File: c:\Program Files\telerik\Sitefinity3.0\TIUSite\UserControls\NewsEvents.ascx.cs    Line: 75

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       NewsEvents.CalculateDays() in c:\Program Files\telerik\Sitefinity3.0\TIUSite\UserControls\NewsEvents.ascx.cs:75
       NewsEvents.OnPreRender(EventArgs e) in c:\Program Files\telerik\Sitefinity3.0\TIUSite\UserControls\NewsEvents.ascx.cs:111
       System.Web.UI.Control.PreRenderRecursiveInternal() +77
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.833

  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    05 Sep 2007
    Link to this post
    Hi Vagelis,

    This is a known issue in SP2 and it is already fixed.

    Sincerely yours,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered