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

Q2 2013 Upgrades break projects

1 Answer 148 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 26 Jul 2013, 10:27 PM
Hi there,

After I simply copy/paste the updated css/js files into my MVC4 project and rebuild I start to receive really nasty runtime errors.


Such as this error when the CSS is updated

Exception of type 'System.OutOfMemoryException' was thrown.
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.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
Source Error:
Line 6: <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
Line 7: <meta name="viewport" content="width=device-width" />
Line 8: @Styles.Render("~/Content/kendo")
Line 9: @Styles.Render("~/Content/css")
Line 10:

Stack Trace:
[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
System.Text.StringBuilder.ToString() +35
System.String.Format(IFormatProvider provider, String format, Object[] args) +72
Microsoft.Ajax.Utilities.AjaxMinExtensions.FormatInvariant(String format, Object[] args) +44
Microsoft.Ajax.Utilities.CssScanner.ReportError(Int32 severity, CssErrorCode error, Object[] args) +76
Microsoft.Ajax.Utilities.CssScanner.GetString() +665
Microsoft.Ajax.Utilities.CssScanner.ScanString() +16
Microsoft.Ajax.Utilities.CssScanner.NextToken() +751
Microsoft.Ajax.Utilities.CssParser.NextToken() +17
Microsoft.Ajax.Utilities.CssParser.SkipSpace() +17
Microsoft.Ajax.Utilities.CssParser.ParseDeclaration() +441
Microsoft.Ajax.Utilities.CssParser.ParseDeclarationList(Boolean allowMargins) +90
Microsoft.Ajax.Utilities.CssParser.ParseDeclarationBlock(Boolean allowMargins) +348
Microsoft.Ajax.Utilities.CssParser.ParseRule() +586
Microsoft.Ajax.Utilities.CssParser.ParseStylesheet() +463
Microsoft.Ajax.Utilities.CssParser.Parse(String source) +528
Microsoft.Ajax.Utilities.Minifier.MinifyStyleSheet(String source, CssSettings settings) +248
System.Web.Optimization.CssMinify.Process(BundleContext context, BundleResponse response) +88

and additionally this error when the kendo js files are updated:

Server Error in '/' Application.

Length cannot be less than zero.
Parameter name: length

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.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length

Source Error:
Line 12:
Line 13: @Scripts.Render("~/bundles/jquery")
Line 14: @Scripts.Render("~/bundles/kendo")
Line 15: @Scripts.Render("~/bundles/knockout")
Line 16:

Stack Trace:
[ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +10698969
Microsoft.Ajax.Utilities.JSScanner.ScanString(Char delimiter) +1395
Microsoft.Ajax.Utilities.JSScanner.ScanNextToken(Boolean scanRegExp) +246
Microsoft.Ajax.Utilities.JSParser.ScanNextToken() +33
Microsoft.Ajax.Utilities.JSParser.GetNextToken() +99
Microsoft.Ajax.Utilities.JSParser.SkipTokensAndThrow(AstNode partialAST) +50
Microsoft.Ajax.Utilities.JSParser.ParseLeftHandSideExpression(Boolean isMinus) +5271
Microsoft.Ajax.Utilities.JSParser.ParseUnaryExpression(Boolean& isLeftHandSideExpr, Boolean isMinus) +2065
Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement) +1595
Microsoft.Ajax.Utilities.JSParser.ParseBlock(Context& closingBraceContext) +195
Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement) +443
Microsoft.Ajax.Utilities.JSParser.ParseBlock(Context& closingBraceContext) +195
Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement) +443
Microsoft.Ajax.Utilities.JSParser.ParseIfStatement() +685
Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement) +485
Microsoft.Ajax.Utilities.JSParser.ParseBlock(Context& closingBraceContext) +195
Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement) +443
Microsoft.Ajax.Utilities.JSParser.ParseIfStatement() +685
Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement) +485
Microsoft.Ajax.Utilities.JSParser.ParseFunction(FunctionType functionType, Context fncCtx) +1615
Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement) +1250
Microsoft.Ajax.Utilities.JSParser.ParseFunction(FunctionType functionType, Context fncCtx) +1615
Microsoft.Ajax.Utilities.JSParser.ParseLeftHandSideExpression(Boolean isMinus) +5051
Microsoft.Ajax.Utilities.JSParser.ParseUnaryExpression(Boolean& isLeftHandSideExpr, Boolean isMinus) +2065
Microsoft.Ajax.Utilities.JSParser.ParseExpression(AstNode leftHandSide, Boolean single, Boolean bCanAssign, JSToken inToken) +738
Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement) +2113
Microsoft.Ajax.Utilities.JSParser.ParseStatements() +309
Microsoft.Ajax.Utilities.JSParser.Parse(CodeSettings settings) +133
Microsoft.Ajax.Utilities.Minifier.MinifyJavaScript(String source, CodeSettings codeSettings) +268

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 29 Jul 2013, 09:22 AM
Hello Craig,

 We discovered this problem too late and were able to solve it today. Please try downloading the files again. 

 More info is available in this forum thread: http://www.kendoui.com/forums/framework/general-discussions/q2'13-release---unable-to-get-property-jquery-of-undefined-or-null-reference-invalid-regular-expressions-or-expected-js-errors.aspx

 Please accept our sincere apologies for the inconvenience this has caused. We will do our best to avoid such problems in the future.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Craig
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or