This is a migrated thread and some comments may be shown as answers.

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

6 Answers 208 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jimmie
Top achievements
Rank 2
Jimmie asked on 20 Jul 2011, 02:29 AM
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

6 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 Jul 2011, 08:00 AM
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!

0
ChrisS
Top achievements
Rank 1
answered on 15 Aug 2011, 12:26 PM
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
0
Robert Meserole
Top achievements
Rank 1
answered on 18 Aug 2011, 02:44 AM
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.
0
Dobromir
Telerik team
answered on 18 Aug 2011, 12:24 PM
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.

0
Curtis
Top achievements
Rank 1
answered on 07 Sep 2011, 11:08 PM
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.
0
Rumen
Telerik team
answered on 08 Sep 2011, 03:23 PM
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 >>

Tags
Editor
Asked by
Jimmie
Top achievements
Rank 2
Answers by
Rumen
Telerik team
ChrisS
Top achievements
Rank 1
Robert Meserole
Top achievements
Rank 1
Dobromir
Telerik team
Curtis
Top achievements
Rank 1
Share this question
or