Copied to clipboard

Flag this post as spam?

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


  • Openfield Creative 62 posts 222 karma points
    May 02, 2014 @ 20:53
    Openfield Creative
    0

    uComponents 6.0.0 with Umbraco 6.2.0

    I'm using the multiple date picker on a site, and when i try to upgrade to v6.2 it starts throwing an "Object reference not set to an instance of an object" error. I created a new site do a fresh install of 6.2 to do some testing, and after installing uComponents, which seemed to install just fine, none of the datatypes are displaying in the data type drop down.

    Can anyone confirm if they have successfully installed uComponents 6 with Umbraco 6.2 or are these two versions no longer compatible?

    Thanks,

    Owen

  • Shannon Deminick 1526 posts 5272 karma points MVP 3x
    May 03, 2014 @ 04:21
    Shannon Deminick
    0

    Can you please paste in the full stack trace?

  • Openfield Creative 62 posts 222 karma points
    May 03, 2014 @ 05:20
    Openfield Creative
    0

    This is the line that throws the error:

    foreach(var date in program.GetPropertyValue("dates").ToString().Split(','))
    {
    ...
    }
    

    And the stack trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    ASP._Page_Views_homepage_cshtml.Execute() in c:\inetpub\wwwroot\znetest.openfieldcreative.com\Views\homepage.cshtml:40
    System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +279
    System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +124
    System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
    +180Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +139
    System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +379
    System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +32
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
    System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +720
    System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__19() +40
    System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +15
    System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
    System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
    System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
    System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
    
  • Stefan Bohlin 46 posts 168 karma points
    May 11, 2014 @ 02:59
    Stefan Bohlin
    0

    I'm having the same issue

Please Sign in or register to post replies

Write your reply to:

Draft