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

Value cannot be null or empty. Parameter name: handler

40 Answers 2791 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Iggy
Top achievements
Rank 1
Iggy asked on 22 Jan 2009, 08:09 PM
Has anyone seen the following error before?  It comes up randomly when opening a RadWindow, usually after building a project/solution.  I have not been able to track down what causes it to appear.

Server Error in '/XXX/YYY' Application.

Value cannot be null or empty.
Parameter name: handler

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.ArgumentException: Value cannot be null or empty.
Parameter name: handler

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:

 
[ArgumentException: Value cannot be null or empty.
Parameter name: handler]
   System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler) +187
   Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver) +1029
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(WebControl control) +115
   Telerik.Web.UI.RadWebControl.GetScriptDescriptors() +5
   Telerik.Web.UI.RadWebControl.System.Web.UI.IScriptControl.GetScriptDescriptors() +10
   System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) +92
   System.Web.UI.ScriptManager.RegisterScriptDescriptors(IScriptControl scriptControl) +22
   Telerik.Web.UI.RadWebControl.RegisterScriptDescriptors() +24
   Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) +33
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +189
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +167
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +217
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +47
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +189
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +594
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +88
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5792

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

40 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 23 Jan 2009, 09:18 AM
Hi Iggy,

I don't recall such problem being reported before and we cannot reproduce it locally. Could you please open a support ticket and send us a small sample project where the problem can be reproduced? We will check it and do our best to help.


Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
user1843640
Top achievements
Rank 1
answered on 10 Feb 2009, 03:28 AM
Any thoughts on this error?  I have encountered it as well.  For me it is happening from time to time in the Render method of a control that inherits from RadPageView.
0
Georgi Tunev
Telerik team
answered on 10 Feb 2009, 07:30 AM
Hello svk,

Iggy hasn't send us a reproduction project so at this point we still cannot tell why is this happening. If you send us such project that can be run locally and where the problem can be reproduced, we will check it right away.


All the best,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Iggy
Top achievements
Rank 1
answered on 10 Feb 2009, 10:14 PM
Unfortunately I can't reproduce the error on command.  It just comes up every so often.  The only thing I have noticed is that it seems to appear the first time I load a window after building the project, but of course it doesn't happen every time I build the project, maybe more like 1 in every 40-50 builds.

Sorry I can't be of more help.  It is annoying but I just haven't been able to pinpoint the steps to reproduce the issue.
0
Georgi Tunev
Telerik team
answered on 11 Feb 2009, 07:02 AM
OK Iggy,

Let us know if you manage to isolate the reproduction steps. If we find something on our side regarding this problem, I will post here as well.



Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Premnath
Top achievements
Rank 1
answered on 23 Feb 2009, 09:47 AM
For this problem you need to change the web.config setting under the  <httpHandlers> tag add the <add path="Telerik.Web.UI.WebResource.axd" .. Then it will work

0
Premnath
Top achievements
Rank 1
answered on 23 Feb 2009, 10:22 AM
For this problem you need to change the web.config setting under the  <httpHandlers> tag add the <add path="Telerik.Web.UI.WebResource.axd" .. Then it will work

0
user1843640
Top achievements
Rank 1
answered on 23 Feb 2009, 01:42 PM
@ Premnath:   I checked and I already have this in my web.config

Like Iggy, I have not had the opportunity to spend the time to attempt to isolate the problem.  The application is very large and is currently under development so a production environment is not impacted "yet". 

The error pops up from time to time in a RadWindow and since it is infrequent it is very difficult to try to repro.
0
Fiko
Telerik team
answered on 24 Feb 2009, 03:30 PM
Hi Premnath,

If you use the RadScriptManager control in that page could you please try to replace it with a standard ScriptManager control and see if you can reproduce the problem?


Regards,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Peter
Top achievements
Rank 1
answered on 06 May 2009, 10:53 AM
I have the same problem, it occures sometimes when i run my project local in the debugger, and every time on the first application start in the production environment.
0
Fiko
Telerik team
answered on 06 May 2009, 03:40 PM
Hello Peter,

Could you please try run the page in non debug mode? I said that because there are some known issues when it is running in the 'debug' mode. Also, you can read this help page.

I hope this helps.

All the best,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Peter
Top achievements
Rank 1
answered on 12 May 2009, 01:46 PM
Hello Fiko!

running the app in non debug mode does not fix the problem. it looks like some timing problem during application startup.
regards,
peter 
0
Fiko
Telerik team
answered on 13 May 2009, 10:00 AM
Hi Peter,

In this case, could you please try to isolate the problem in a simple project and send it to us? You need to open a new support ticket, because you cannot attach attach files to a forum thread. You mentioned that you reproduce the problem every time in the production environment, that is why it will be best if you provide more information about the reproduction steps as well.

Once we have a better view at your setup and the problem, we will do our best to provide a solution.

Regards,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Denny
Top achievements
Rank 2
answered on 13 May 2009, 02:48 PM
Hi I have the similar problem, same as Iggy, it errors quite often after i recompile my project. if I refresh the error screen, the error will go away. Would it be some sort of caching problem or could it be handle by put some error handling in the AddEvent Method? Here is my stack trace, hope this help:

Description 
===========  
Value cannot be null or empty.  
Parameter name: handler  
 
Exception Stack Trace 
=====================  
at System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler)  
at Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)  
at Telerik.Web.UI.ControlItemContainer.DescribeComponent(ScriptComponentDescriptor descriptor)  
at Telerik.Web.UI.RadComboBox.DescribeComponent(ScriptComponentDescriptor descriptor)  
at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)  
at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors()  
at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)  
at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors()  
at Neetrix.Web.Administration.Controls.nxRadComboBox.Render(HtmlTextWriter writer) in C:\Neetrix\Administration\Common\Controls\nxRadComboBox.cs:line 22  
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
at Neetrix.Web.Administration.Controls.nxFormItem.Render(HtmlTextWriter writer) in C:\Neetrix\Administration\Common\Controls\Form\nxFormItem.cs:line 81  
at Neetrix.Web.Administration.Controls.nxForm.Render(HtmlTextWriter writer) in C:\Neetrix\Administration\Common\Controls\Form\nxForm.cs:line 100  
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)  
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)  
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)  
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)  
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
at System.Web.UI.Page.Render(HtmlTextWriter writer)  
at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)  
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
at System.Web.UI.Page.Render(HtmlTextWriter writer)  
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  
 
Target Site 
===========  
Void AddEvent(System.String, System.String)  
 
0
Georgi Tunev
Telerik team
answered on 14 May 2009, 11:30 AM
Hi guys,

Unfortunately without being able to reproduce the problem locally, we cannot be of much help. So far we see that the problem might be in the combobox, however it seems that the problem appears in specific scenario only.
Please send us a sample project that reproduces this problem and we will check it right away.

All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Matt Howeson
Top achievements
Rank 1
answered on 18 May 2009, 01:41 PM
We are also receiving the same error on unrelated pages within our application.  The common factor is definitely the application pool being recycled. 

Our application is quite busy and it seems that the first few requests immediately after the application pool is recycled can generate this error.

It is hard to reproduce this as it seems to happen only for requests received in the second that the application pool is being recycled.  Application pool recycled at 12:19:39pm today, first three requests for pages at 12:19:40pm all fail with the error detailed in this thread.  All requests following this are OK, the only time we receive this error is after a app ppol is recycled.  The page in use doesn't matter (all our pages uses telerik Radmenu, ScriptManager, and FormDecorator, many use RadGrid and Toolbar.  If a page is requested when the pool recycles this error is produced.

I suggest that this might be reproduced if you run one of your demo applications, with 10 page requests per second simulated, and then recycle the Application pool under which the process is running.  I'm sure you will then be able to replicate the issue, by catching the error in the Application_OnError event, which is how we know about these errors.

Thanks,

Matt
0
Atanas Korchev
Telerik team
answered on 22 May 2009, 12:14 PM
Hello Matt Howeson,

I tried using Visual Studio Load test but I couldn't reproduce such exceptions. My tests ran for almost 5 minutes and I manually recycled IIS7's default application pool many times. However no exception was present in the event logs.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jay O'Brien
Top achievements
Rank 1
answered on 12 Aug 2009, 06:01 PM
Has there been any progress with this error? I am seeing (my customers actually) the exact same error (occasionally), usually within the first few page loads right after installing our product.

This is a tricky one to solve, because it only happens with our full product (a pretty large project), but never with small sample projects.

I was just wondering if there has been any resolution or other tips.

thanks!
0
Tervel
Telerik team
answered on 13 Aug 2009, 07:10 AM
Hello Jay,

We still have not been able to isolate the problem in a sample application - not even once, let alone in a reliable manner which will allow us to debug it.

Best regards,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Shaun Peet
Top achievements
Rank 2
answered on 08 Sep 2009, 06:13 PM
Hi Tervel,

Although I also can't easily provide reproducable steps I can also confirm that I'm getting the exact same occasional, seemingly random errors as the other posters.  The only thing I noticed which reading this thread is that our server is IIS6 not IIS7.  And, in our case, we've gone extensionless so ASP.NET is processing everything.  Here's the event from the logs:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event 
Event ID: 1309
Date: 9/8/2009
Time: 2:06:07 PM
User: N/A
Computer: H101502
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 9/8/2009 2:06:07 PM 
Event time (UTC): 9/8/2009 6:06:07 PM 
Event ID: a6fd725cdb3a4d1aa765c1b42624df78 
Event sequence: 5 
Event occurrence: 1 
Event detail code: 0 
 
Application information: 
    Application domain: (REDACTED) 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: (REDACTED) 
    Machine name: H101502 
 
Process information: 
    Process ID: 23260 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: ArgumentException 
    Exception message: Value cannot be null or empty.
Parameter name: handler 
 
Request information: 
    Request URL: http://lambtonjrsting.ca/Default.aspx?Team=1015&ParentType=Team&ParentID=1015 
    Request path: /Default.aspx 
    User host address: 204.80.222.11 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 1 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler)
   at Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)
   at Telerik.Web.UI.ControlItemContainer.DescribeComponent(ScriptComponentDescriptor descriptor)
   at Telerik.Web.UI.RadMenu.DescribeComponent(ScriptComponentDescriptor descriptor)
   at Telerik.Web.UI.RadDataBoundControl.Telerik.Web.IControl.DescribeComponent(ScriptComponentDescriptor descriptor)
   at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)
   at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors()
   at Telerik.Web.UI.RadDataBoundControl.System.Web.UI.IScriptControl.GetScriptDescriptors()
   at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)
   at System.Web.UI.ScriptManager.RegisterScriptDescriptors(IScriptControl scriptControl)
   at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors()
   at Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.Control.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.Control.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at ASP.app_master_web_master.__RenderfrmMain(HtmlTextWriter __w, Control parameterContainer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.Control.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.Control.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details: 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

0
Georgi Tunev
Telerik team
answered on 11 Sep 2009, 10:59 AM
Hi Shaun,

Thank you for the information. Could you please tell me, have you seen this error in production? So far, we were able to reproduce error only after rebuilding a project / changing Dlls and it happens randomly. The error is also not directly related to the RadWindow control - it has happened with other controls as well. Also have you tried replacing RadAjax with MS UpdatePanels? Does the error appear again in such case?



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Matthew
Top achievements
Rank 1
answered on 29 Sep 2009, 03:11 PM
Hello, Georgi Tunev,
 
  We just randomly encountered the exception reported above.  It occurred right after the application pool had started itself up and on the second page that the first user opened.  This was several days after the project and DLL's had been last rebuilt and released.
 
  We did not see that exception before, and have not seen it since.
 
  Note that we are using Microsoft UpdatePanel controls.
 
  We are using Telerik.Web.UI.dll version 2009.2.826.35.  Our site is running on IIS 6.

Thanks & Regards,
Matthew Wolfgang. 

Message:  
======================================================== 
Value cannot be null or empty. 
Parameter name: handler 
 
========================================================   
========================================================     
  StackTrace:  
======================================================== 
   at System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler) 
   at Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver) 
   at Telerik.Web.UI.ControlItemContainer.DescribeComponent(ScriptComponentDescriptor descriptor) 
   at Telerik.Web.UI.RadComboBox.DescribeComponent(ScriptComponentDescriptor descriptor) 
   at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) 
   at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors() 
   at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) 
   at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors() 
   at Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) 
   at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) 
   at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) 
   at Telerik.Web.UI.RadPane.RenderContents(HtmlTextWriter writer) 
   at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) 
   at Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) 
   at Telerik.Web.UI.RadSplitter.RenderContents(HtmlTextWriter writer) 
   at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) 
   at Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) 
   at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) 
   at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
   at System.Web.UI.Page.Render(HtmlTextWriter writer) 
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
 
======================================================== 





0
Matt Howeson
Top achievements
Rank 1
answered on 29 Sep 2009, 03:51 PM
We are still receiving this issue regularly.  Occasionally this error immediately precedes the application not responding, and we have to manually recycle the application pool.  We have the application pool set to recycle every 4 hours, and we normally receive a few errors immediately after the recycle takes place.

As with others in this thread we are running IIS6, not IIS7 as was mentioned in the previous tests.  I'm sure it is not as simple as this, but given that this is proving a repeating issue for many people, is there no way the Telerik Controls could specifically check for this issue in the functions listed in the stacktrace that has been provided

Thanks,

Matt
0
Peter
Top achievements
Rank 1
answered on 29 Sep 2009, 04:00 PM
Do you use the EnableScriptCombine option of RadScriptManager? After removing this option, the error occured less often on our site.
0
Matthew
Top achievements
Rank 1
answered on 29 Sep 2009, 04:03 PM
Just a thought:
Any chance the Telerik library uses some type of application caching that could be causing a race condition that in turn is causing this exception we're all seeing?
I'm wondering because such caching would likely be initialized right when the application pool restarts itself, and that's when everyone seems to encounter this elusive error.

0
Matthew
Top achievements
Rank 1
answered on 29 Sep 2009, 04:08 PM
Peter,
  We are not explicitly setting RadScriptManager.EnableScriptCombine.

Regards,
0
Iana Tsolova
Telerik team
answered on 30 Sep 2009, 01:44 PM
Hi Matthew,

Indeed, RadScriptManager.EnableScriptCombine property default value is true.

Regarding the error message you received, a possible reason for it is the usage of nested UpdatePanels. Could you please confirm that this is not your case and you are not using RadAjax to update page content wrapped in UpdatePanels the same time?

Additionally, I am afraid we could hardly get to the source of the issue with replicating it locally. Therefore I suggest that you open a formal support ticket and send us a stripped version of your scenario for further investigation.

Greetings,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Shaun Peet
Top achievements
Rank 2
answered on 06 Oct 2009, 02:05 PM
I'm not sure if this thread is related or not, but I thought I'd post it here.  Yesterday I downloaded and installed the SEO Optimization Kit for IIS7 and ran it on a couple of my sites.  It found lots of violations, but one in particular caught my eye as a Telerik-related viloation.  Here are the details:

The content type "application/x-javascript" does not match the content type of the HTTP response from URL "http://sailorshockey.ca/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_smPublic_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1247b7d8-6b6c-419f-a45f-8ff264c90734%3aea597d4b". Recommended content type: "application/javascript"

So again, I'm not sure if that's the problem or not but I just wanted to point it out here just in case.

Shaun.
0
Chris Behrens
Top achievements
Rank 1
answered on 14 Oct 2009, 05:11 PM
The purpose of this function (DescribeComponent) appears to be to transform a server tag in a way that will allow it to be fed into the .Net system for rendering tags.

Without going into specifics, the stack trace indicates that the ScriptComponentDescriptor..::.AddEvent method is being called with either a zero-length or null string. Given the intermittent nature of the error that we're all getting, I think the source of the error must be occurring higher up in the logic, but I think that simply slapping a String.IsNullOrEmpty on this before calling AddEvent will fix the problem...
0
Iana Tsolova
Telerik team
answered on 20 Nov 2009, 08:56 AM
Hello Dana,

I am afraid that the mentioned error it not due to a bug in RadAjax and I am sure there is a certain reason for it to appear. If you could provide a sample project of your scenario which illustrates he problem, we would gladly debug it locally to find the exact cause of it and thus give you the best resolution. Otherwise it would be hard to guess what could have gone wrong in your case.

Best wishes,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Patrick Maeschli
Top achievements
Rank 1
answered on 26 Jan 2010, 04:38 PM
Hello..

We are using the telerik treeview in our project, and have the same error occassionally in this project.

Value cannot be null or empty.

Parameter name: handler   at System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler)

   at Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)

   at Telerik.Web.UI.ControlItemContainer.DescribeComponent(ScriptComponentDescriptor descriptor)

   at Telerik.Web.UI.RadTreeView.DescribeComponent(ScriptComponentDescriptor descriptor)

   at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)

   at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors()

   at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)

   at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors()

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)

   at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)

   at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.RenderChildren(HtmlTextWriter writer)

   at System.Web.UI.Page.Render(HtmlTextWriter writer)

   at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Troubleshoot issues with Windows SharePoint Services.

Any News on this Subject?

Thanks in Advance
patrick

0
Iana Tsolova
Telerik team
answered on 29 Jan 2010, 09:48 AM
Hello Patrick,

Could you please send us a sample replicating the mentioned error? As I am afraid that it would be hard to determine what could be the source of it based on the provided information.

All the best,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Chris
Top achievements
Rank 1
answered on 29 Jan 2010, 05:07 PM
Just thought I'd mention that I get this error about once a week on average. So far, it has been unreplicatable (which, apparently is a word I just made up).

I feel for you all at Telerik. I myself have a handful of outstanding errors from code I have because I can't replicate them. Thanks for your help anyways!

:-)

Edit: One thing I *do* know is that it only happens with our site that is running under IIS 6. I never see this from our site that runs under IIS 7. Plus, the IIS 6 site only uses FileExplorer and AjaxPanel, but the IIS 7 site uses AjaxPanel, Calendar, ColorPicker, ComboBox, Dock, Grid, Input, ListBox, Menu, TabStrip, Upload, and Window.

I don't expect anyone to solve the issue based on this info, but I just though I'd provide everything I knew... 
0
Chris Behrens
Top achievements
Rank 1
answered on 29 Jan 2010, 05:18 PM
Look fellas...I don't want to be snarky, but how hard can this be? I can tell you the following, given the error dump:

1. You have a call from code in " Telerik.Web.ScriptObjectBuilder" to " System.Web.UI.ScriptComponentDescriptor.AddEvent" that's having a problem.
2. Specifically, the value passed to the "handler" argument, which is a string, is null or empty.
3. The code, which resides in "Telerik.Web.ScriptObjectBuilder", is not generating a proper "handler" argument for that function call.
4. It's intermittent and very difficult to replicate, so it's either reliant on some external resource which is changing, or it's a race condition (more likely).

At the very least, you need to throw an exception when you can't generate a proper handler argument rather than passing the invalid value of null or empty to the next function.
0
localman
Top achievements
Rank 1
answered on 02 Feb 2010, 08:41 AM
+1 getting this error. has gone away for now. turned up out of nowhere.

Some info about the system/config:

Windows Server web 2008R2
IIS 7
Using .net MVC for routing in forms application.
0
Iana Tsolova
Telerik team
answered on 04 Feb 2010, 01:55 PM
Hello all,

The best way to find the source of this error and provide a resolution to you is to give us a runnable sample of your scenario. We could then debug it and address all the issues accordingly.
Other than this, there is no a lot more that could be done.

Please excuse us we this caused you any inconvenience and thank you for your cooperation in advance.

Best wishes,
Iana
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Dana Hanna
Top achievements
Rank 1
answered on 09 Feb 2010, 05:37 PM
I absolutely agree with Chris.  Telerik is handling this completely unprofessionally.  This isn't rocket science, and it is clearly a bug that needs diagnosed.  We can't reproduce it with any consistency.

if (handler == null) { 
  LogDiagnosticInformationToIdentifyTheEffingProblem(); 
  throw new SomeException()//or don't.  I'd suspect a fix would be to just ignore this and return...  but root cause is good to know. 
0
Chris
Top achievements
Rank 1
answered on 09 Feb 2010, 05:39 PM
Um... I thought we *did* have access to the source code. But you are correct, it isn't "open source" in the sense that we can submit changes to be integrated into the main build.

If I had the time, I could actually tweak the controls all I wanted. But, (1) I don't have the time, and (2) I would've branched without the ability to merge back to trunk.


0
Matt Howeson
Top achievements
Rank 1
answered on 09 Feb 2010, 05:40 PM
Much as I have always found Telerik's support to be great for most issues I have raised, I tend to agree with Chris on this.

We can't reproduce the prioblem, person after person has highlighted the same issue, and explained this is not replicable it happens sporadically.  We identified sometime ago that this seems to relate to a certain degree to the Application Pool recycling.

It is not possible to replicate the error but it continues to occur regularly, we have a largeish asp.net application running with >200,000 lines of code, we can't send you the application it's just not feasible.  What we have done and various others have provided the stack trace identifying exactly where the error needs to be handled....

We don't have access to handle this error, it happens outside our applications operation, the only people who can handle the error at this point when Telerik functions are being called is Telerik.  The standard response consistently to this thread is just no help to the people who have this issue, normally it's fair to say send us a sample project, but not in this instance it just doesn't always work like that.  You need to recognise that many of us see this error appearing regularly in our error logs, and our customers see an error screen they shouldn't, and it makes us your customers look bad.  Look at the stack trace, catch the error and handle it as best possible and then we can all move on.




0
Yavor
Telerik team
answered on 10 Feb 2010, 03:34 PM
Hello,

As mentioned previously, the options for pinpointing the problem, when it is not manifesting itself consistently, are limited. The most obvious one, of course, is a small working project. We do acknowledge, however, that this is not always possible. Nevertheless, if this is not available, the second best approach is to open a formal support ticket, and furnish as much details as possible:

The development environment
The frequency of the exception
The stack trace of the page
The relevant pages, which cause the exception
More details on the control(s) used
A live url to the site in question

Additionally, although producing a small working project is not always straightforward, it is always possible - any unnecessary modules can be excluded, all unrelated controls can be removed temporarily. This does require some additional overhead, but is oftentimes the only way to go. Other than this, pinpointing the issue simply based on the stack trace is not a conceivable option.
Further, since the scenarios supplied in this thread are rather different, opening a support ticket for the relevant control(s) would also allow us to further isolate the scenario, and provide more specific instructions.

Sincerely yours,
Yavor
the Telerik team


Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
Window
Asked by
Iggy
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
user1843640
Top achievements
Rank 1
Iggy
Top achievements
Rank 1
Premnath
Top achievements
Rank 1
Fiko
Telerik team
Peter
Top achievements
Rank 1
Denny
Top achievements
Rank 2
Matt Howeson
Top achievements
Rank 1
Atanas Korchev
Telerik team
Jay O'Brien
Top achievements
Rank 1
Tervel
Telerik team
Shaun Peet
Top achievements
Rank 2
Matthew
Top achievements
Rank 1
Iana Tsolova
Telerik team
Chris Behrens
Top achievements
Rank 1
Patrick Maeschli
Top achievements
Rank 1
Chris
Top achievements
Rank 1
localman
Top achievements
Rank 1
Dana Hanna
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or