RadEditor: Value Cannot Be Null Parameter: child error after upgrade to Q2 release

7 posts, 0 answers
  1. Jimmie
    Jimmie avatar
    19 posts
    Member since:
    Nov 2008

    Posted 19 Jul 2011 Link to this post

    After upgrading to the Q2 release today, I get the error below as soon as I hit the page with the RadEditors. It does not hit any break points. It happens in both Release and Debug mode.
     
    I have multiple RadEditors on the page sharing a single toolbar using the ToolBarProviderID property. When I stop sharing the toolbar, I do not get the error. 

    At one time, the Stack Trace referenced a method with a name like "Ribbon" something. I believe it has to do with the new ribbon functionality.

    I do not get this error when I use the Q1 release.

    Please let me know if there is a workaround for the problem.

    --------

    Value cannot be null.
    Parameter name: child

    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.ArgumentNullException: Value cannot be null.
    Parameter name: child

    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:

    [ArgumentNullException: Value cannot be null.
    Parameter name: child]
       System.Web.UI.ControlCollection.Add(Control child) +11023974
       Telerik.Web.UI.RadEditor.ControlPreRender() +225
       System.Web.UI.Control.PreRenderRecursiveInternal() +108
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
    

  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 22 Jul 2011 Link to this post

    Hello Jimmie,

    Please, accept our sincerely appoligies for the inconvenience that this bug is causing.

    You can download the latest internal build where the ToolProviderID problem is fixed. The issue will not exist in the next Q2 2011 SP2 release.

    Best regards,
    Rumen
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ChrisS
    ChrisS avatar
    50 posts
    Member since:
    Aug 2005

    Posted 15 Aug 2011 Link to this post

    Hi Rumen,

    We are also badly affected by this bug.  Can you tell me when Q2 2011 SP2 release is due?  We have six websites waiting to go live and we don't wish to use an internal build in a production environment.  Once we know your timescales we can make a decision whether to revert back to Q1 2011.

    Many thanks
  5. Robert Meserole
    Robert Meserole avatar
    1 posts
    Member since:
    Jun 2006

    Posted 17 Aug 2011 Link to this post

    I just downloaded the latest internal build and placed the new DLLs in my bin folder and the problem with the ToolsProviderID appears to still exist.
  6. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 18 Aug 2011 Link to this post

    Hi guys,

    @Chris
    The service pack with the fix for this bug is planned for the middle of September.

    @Robert
    Could you please verify that you are using Telerik.Web.UI.dll version 2011.2.809 or later? I have tested setting ToolProviderID property with the last two internal builds (2011.2.809 and 2011.2.816) and was unable to reproduce the issue. If you are still experiencing this problem could you please open a formal support ticket and provide a sample fully runnable project reproducing the issue?

    Greetings,
    Dobromir
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  7. Curtis
    Curtis avatar
    23 posts
    Member since:
    Jan 2008

    Posted 07 Sep 2011 Link to this post

    I just downloaded the latest internal build and moved the latest DLLs to my bin, restarted IIS, and it didn't fix the issue here as well.

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: child

    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:

    [ArgumentNullException: Value cannot be null.
    Parameter name: child]
       System.Web.UI.ControlCollection.Add(Control child) +11305622
       Telerik.Web.UI.RadEditor.ControlPreRender() +270


    <telerik:RadEditor runat="server" ID="txtProgramDescription" Skin="Black" ContentFilters="ConvertToXhtml" ToolsFile="~/ToolsFile.xml" Height="220px" Width="750px" AllowScripts="false" NewLineBr="true" StripFormattingOnPaste="AllExceptNewLines" Content='<%# Bind("Description") %>'>
                             <CssFiles>
                                 <telerik:EditorCssFile Value="~/css/editor.css" />
                             </CssFiles>
                            </telerik:RadEditor></td>
                    </tr>
                    <tr>
                        <td class="editFormLabel">Description Detail:</td>
                        <td><telerik:RadEditor runat="server" ID="RadEditor1" Skin="Black" ContentFilters="ConvertToXhtml" ToolProviderID="txtProgramDescription" ToolsFile="~/ToolsFile.xml" Height="220px" Width="750px" AllowScripts="false" NewLineBr="true" StripFormattingOnPaste="AllExceptNewLines" Content='<%# Bind("DescriptionDetail") %>'>
                             <CssFiles>
                                 <telerik:EditorCssFile Value="~/css/editor.css" />
                             </CssFiles>
                            </telerik:RadEditor>

    The first editor has some text being bound whereas the second editor's data is null.
  8. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 08 Sep 2011 Link to this post

    Hi Curtis,

    I was unable to reproduce the problem with the today's build. For your convenience I have attached it to my reply.

    By the way next week we will release Q2 2011 SP1 and you can upgrade to it.

    Regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017