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
Parameter name: handler
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
40 Answers, 1 is accepted
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.

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.

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.
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.



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.

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.

running the app in non debug mode does not fix the problem. it looks like some timing problem during application startup.
regards,
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.

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) |
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.

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
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.

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!
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.

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.

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) |
======================================================== |

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


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.

We are not explicitly setting RadScriptManager.EnableScriptCombine.
Regards,
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.


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...
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.

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
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.


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.

Some info about the system/config:
Windows Server web 2008R2
IIS 7
Using .net MVC for routing in forms application.
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.

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. |
} |


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.
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.