+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Object reference error when selecting shared content

Object reference error when selecting shared content

2 posts, 0 answered
  1. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    26 Jul 2007
    Link to this post
    I have a 3.0 site (no service packs yet) that is giving me an object reference error when i go to a template, edit some shared content, and try to change which shared content i want in that placeholder.  Once I hit "Select" i get this error:

    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.]
       Telerik.Cms.Engine.WebControls.SelectContentDialog.grid_SelectedIndexChanged(Object sender, EventArgs e) +60
       System.Web.UI.WebControls.GridView.OnSelectedIndexChanged(EventArgs e) +105
       System.Web.UI.WebControls.GridView.HandleSelect(Int32 rowIndex) +89
       System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +221
       System.Web.UI.WebControls.GridView.RaisePostBackEvent(String eventArgument) +199
       System.Web.UI.WebControls.GridView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

     


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    27 Jul 2007
    Link to this post
    Hello fregas,

    Unfortunately we cannot reproduce this error with Sitefinity 3.0 (we tried with and without SP2).
    Please update your site with the latest hotfix.
    If upgrading to SP2 does not fix this issue, please send us your project, so we could investigate it locally.

    We are sorry for the inconvenience and for the error.

    Best wishes,
    Vlad
    the Telerik team

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