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

[Solved] Wierd "Value" cannot be null when debug="false"

6 Answers 74 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 09 Jan 2012, 01:57 PM
Hi

I am using hyphen's instead of underscores for my controllers and actions. I wrote a hyphenated route handler.

In debug="true" the menu is fine.

menu.Add().Text("How to Search").Action("Index""How-To-Search");

However when I set to debug="false" it spits out an error.

[ArgumentNullException: Value cannot be null.
Parameter name: value]
   System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic) +8948527
   System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) +93
   System.Web.Caching.Cache.Insert(String key, Object value) +75
   Telerik.Web.Mvc.Infrastructure.Implementation.CacheProvider.Insert(String key, Object value) in f:\108\Griffin\Current Full\Sources\Source\Telerik.Web.Mvc\Infrastructure\Implementation\CacheProvider.cs:20

Do you know what the problem is and if it is with the Telerik MVC controls or not?

6 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 09 Jan 2012, 02:34 PM
Hello Michael,

 
This is a known issue. For more information check this thread.

All the best,
Georgi Krustev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Michael
Top achievements
Rank 1
answered on 09 Jan 2012, 02:58 PM
Thanks Georgi, however .1309 didn't fix it, the issue is still occurring for me...
0
Georgi Krustev
Telerik team
answered on 09 Jan 2012, 04:08 PM
Hello Michael,

 
Could you send us a simple test project? Thus I will be able to observe the depicted issue locally and advice you further.

All the best,
Georgi Krustev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Michael
Top achievements
Rank 1
answered on 10 Jan 2012, 12:31 AM
Thanks I just sent through a zip file of a test solution with this behaviour.
0
Georgi Krustev
Telerik team
answered on 10 Jan 2012, 01:14 PM
Hello Michael,

 
Here is a quote of the answer I have post in the support ticket opened on the same matter:

Thank you for the attached test project. I was able to observe the depicted issue. It was immediately addressed and the fix is included in the latest internal build (2011.3.1310). Check it and let me know if it works for you. As a gratitude for your involvement I have updated your Telerik points.


Greetings,
Georgi Krustev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Michael
Top achievements
Rank 1
answered on 25 Jan 2012, 10:01 AM
Sorry false alarm, please disregard this post.
Tags
Menu
Asked by
Michael
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Michael
Top achievements
Rank 1
Share this question
or