Quantcast
Channel: bundletransformer Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 698

Commented Issue: CSSO issues on first launch [12]

$
0
0
I'm deploying MVC 4 project in Azure environment. So, x64.

After uploading package for the 1st time on app launch (navigation to page) I get the exception below. On page refresh everything seems to work ok. There's no message in exception, so it's hard to figure out what the problem is. Do you have any suggestions on how to approach debugging this or logging to figure out where/what the problem is? Everything works fine in dev environment.

Thanks!
Если вам удобнее, могу общаться и по Русски.

Noesis.Javascript.JavascriptException
at Noesis.Javascript.CompileScript(Local<v8::Script>* , Char* source_code, Char* resource_name)
at Noesis.Javascript.JavascriptContext.Run(String iSourceCode)
at BundleTransformer.Csso.Minifiers.KryzhanovskyCssMinifier.Minify(IList`1 assets)
at BundleTransformer.Core.Transformers.TransformerBase.Minify(IList`1 assets)
at BundleTransformer.Core.Transformers.CssTransformer.Transform(IList`1 assets, BundleResponse bundleResponse, HttpContextBase httpContext)
at BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext context, BundleResponse response)
at System.Web.Optimization.Bundle.ApplyTransforms(BundleContext context, String bundleContent, IEnumerable`1 bundleFiles)
at System.Web.Optimization.Bundle.GetBundleResponse(BundleContext context)
at System.Web.Optimization.BundleResolver.GetBundleContents(String virtualPath)
at System.Web.Optimization.AssetManager.EliminateDuplicatesAndResolveUrls(IEnumerable`1 paths)
at System.Web.Optimization.AssetManager.DeterminePathsToRender(IEnumerable`1 assets)
at System.Web.Optimization.AssetManager.RenderStyles(IEnumerable`1 assets)
at ASP._Page_Views_Shared__EmptyLayout_cshtml.Execute() in e:\sitesroot\0\Views\Shared\_EmptyLayout.cshtml:line 12
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)
at System.Web.WebPages.WebPageBase.PopContext()
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)

Comments: That seems to have fixed the issue! Although, I switched to YUI minification. I like CSSO the most, but have 2 different packages, one for x86 and one for x64 is inconvinient. In dev environment both iis express and vs dev server are x86, so I have to use x86 package. On the server it's x64, so have to use x64 there. Is there any chance of you creating a package that would work on any cpu? My guess is that you'd have to go away from using google jscript engine to do that.

Viewing all articles
Browse latest Browse all 698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>