Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Barry Fogarty 493 posts 1129 karma points
    Apr 09, 2014 @ 14:59
    Barry Fogarty
    0

    6.2 RC says no

    Hi guys,

    I installed on v6.2RC and all looks good, web.config updated correctly and the UI displays OK.  Saved my first bundle but when I checked no CSS code is output for /bundles/core.  The log had the following:

    2014-04-09 13:48:36,131 [9] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 30] An unhandled exception occurred

    System.NullReferenceException: Object reference not set to an instance of an object.

       at Optimus.Umbraco.Trees.BundlingAndMinificationTree.<Render>b__2(XElement b)

       at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)

       at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)

       at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()

       at Optimus.Umbraco.Trees.BundlingAndMinificationTree.Render(XmlTree& tree)

       at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)

       at umbraco.presentation.webservices.TreeDataService.GetXmlTree()

       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    2014-04-09 13:48:36,307 [9] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 7] An unhandled exception occurred

    System.NullReferenceException: Object reference not set to an instance of an object.

       at Optimus.Bundles.<>c__DisplayClass4.<GetBundleAsViewModel>b__1(XElement x)

       at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)

       at Optimus.Bundles.GetBundleAsViewModel(String virtualPath, String bundleType)

       at Optimus.Controllers.BundleController.Index(String virtualPath, String bundleType)

       at lambda_method(Closure , ControllerBase , Object[] )

       at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)

       at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)

       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()

       at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)

       at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()

       at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)

       at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    I am not able to edit bundles (nothing displays in the tree), and now I get the above as a YSOD when trying to create new ones.  Any ideas?
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies