...

Ошибка при открытии календаря

Тема в разделе "Проблемы/ошибки", создана пользователем Sliver, 7 мар 2018.

  1. Sliver

    Sliver New Member

    Доброго время суток!
    Помогите, пожалуйста, исправить ошибку, при открытии календаря.

    Адрес страницы: http://*.*.*.*:8080/Calendar/Scheduler/View/52

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

    at EleWise.ELMA.CRM.RelationshipCalendarItem.<.ctor>b__3(IUser u)
    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
    at EleWise.ELMA.CRM.RelationshipCalendarItem..ctor(IRelationship relationship, IEnumerable`1 owners)
    at EleWise.ELMA.CRM.RelationshipCalendarItemProvider.<>c__DisplayClass12.b__f(IRelationship t)
    at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    at EleWise.ELMA.CRM.RelationshipCalendarItemProvider.GetItems(ICollection`1 schedules, DateTime startDate, DateTime endDate, Boolean checkPermission, Boolean showExpired)
    at EleWise.ELMA.BPM.Web.Calendar.Extensions.CalendarExtensions.<>c__DisplayClass3.b__0(ICalendarItemProvider p)
    at System.Linq.Enumerable.d__14`2.MoveNext()
    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    at EleWise.ELMA.BPM.Web.Calendar.Extensions.CalendarExtensions.DatesList(ISchedule schedule, DateTime startDate, DateTime endDate)
    at EleWise.ELMA.BPM.Web.Calendar.Menu.CalendarMenuItemRenderer.RenderCalendar(HtmlHelper htmlHelper, MenuItemNode item)
    at ASP._Page_Views_Shared_Menu_LeftMenu_cshtml.Execute()
    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 EleWise.ELMA.Web.Orchard.Mvc.ViewEngines.Razor.CachedRazorView.RenderView(ViewContext viewContext, TextWriter writer)
    at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
    at ASP._Page_Themes_ELMATheme_Views_Layout_cshtml.Execute()
    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 EleWise.ELMA.Web.Orchard.Mvc.ViewEngines.Razor.CachedRazorView.RenderView(ViewContext viewContext, TextWriter writer)
    at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
    at Orchard.DisplayManagement.Descriptors.ShapeTemplateStrategy.ShapeTemplateBindingStrategy.Render(ShapeDescriptor shapeDescriptor, DisplayContext displayContext, HarvestShapeInfo harvestShapeInfo, HarvestShapeHit harvestShapeHit)
    at Orchard.DisplayManagement.Descriptors.ShapeTemplateStrategy.ShapeTemplateBindingStrategy.<>c__DisplayClass24.<>c__DisplayClass26.b__14(DisplayContext displayContext)
    at Orchard.DisplayManagement.Descriptors.ShapeAlterationBuilder.<>c__DisplayClass3.<>c__DisplayClass5.b__2(DisplayContext displayContext)
    at Orchard.DisplayManagement.Implementation.DefaultDisplayManager.Process(ShapeBinding shapeBinding, IShape shape, DisplayContext context)
    at Orchard.DisplayManagement.Implementation.DefaultDisplayManager.Execute(DisplayContext context)
    at Orchard.DisplayManagement.Implementation.DisplayHelper.ShapeExecute(Object shape)
    at ClaySharp.ClayBehaviorCollection.<>c__DisplayClasse.<>c__DisplayClass10.b__d()
    at ClaySharp.ClayBehaviorCollection.Execute(Func`1 proceed, Func`3 linker)
    at Orchard.Mvc.ViewEngines.ThemeAwareness.LayoutAwareViewEngine.<>c__DisplayClass7.b__5(ViewContext viewContext, TextWriter writer, IViewDataContainer viewDataContainer)
    at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
    at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.b__17()
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    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.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
    at System.Web.Mvc.Controller.ExecuteCore()
    at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
    at System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext)
    at Orchard.Mvc.Routes.ShellRoute.HttpHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     
  2. pushkarev

    pushkarev Active Member

    Ошибка указывает на отсутствие значения какого-то объекта. Просто так по ошибке сказать сложно, какого именно.
    Расскажите после чего появилась данная ошибка? Делили ли вы какую-либо кастомизацию элементов календаря?
     

Поделиться: