1

Closed

Exceptions with Telerik ASP.NET MVC Extensions JavaScript

description

I am getting an "Object reference not set to an instance of an object" error message on one of the Telerik ASP.NET MVC Extensions javascript source files. The javascript file in question is attached.
 
What can I do to work around this.....obviously the javascript file is working.
 
I am using the MSFT AJAX Minifier v4.57.

file attachments

Closed Oct 9, 2012 at 10:58 PM by ronlo
cleaning up older fixed issues

comments

ronlo wrote Jul 2, 2012 at 7:31 PM

Ooo... that's a bad one. I'll get that one fixed asap. Any time there's an exception like that, it's definitely an unexpected result that requires an AjaxMin bugfix.

ronlo wrote Jul 2, 2012 at 7:41 PM

That's not the best error message on the part of AjaxMin, but it is throwing a JS1107 error saying that it is expecting more source. And there is a syntax error in that page: the left-hand curly-brace on line one (the closure) does not have a matching right-hand curley-brace at the end of the file. You should probably fix that. The really bad part, though, is the null-reference exception it's throwing as it tries to process the AST. I'll get that fixed.

ronlo wrote Jul 2, 2012 at 8:05 PM

Fix checked in, changeset 92378. This will release with 4.58 (but I want to hit your other issues first).

plippard wrote Jul 2, 2012 at 9:41 PM

Thanks for the support.

ronlo wrote Jul 2, 2012 at 11:18 PM

Fixed in release version 4.58. That source file should now display a JS1301 error (unclosed function), but still output valid results.

plippard wrote Jul 3, 2012 at 2:31 AM

4.58 resolves the problem.....thanks.