Error when going to the dashboard after upgrading to 0.4.6

Pieter's Avatar

Pieter

09 Nov, 2013 03:25 AM

System.NullReferenceException: Object reference not set to an instance of an object.
   at HgLab.Areas.Dashboard.Controllers.DashboardController.GetActivityItemChangesets(HgRepository hgRepository, ActivityStream activityStream) in d:\projects\hglab\src\HgLab\Areas\Dashboard\Controllers\DashboardController.cs:line 176
   at HgLab.Areas.Dashboard.Controllers.DashboardController.GetActivityItemModel(ActivityStream activityStream) in d:\projects\hglab\src\HgLab\Areas\Dashboard\Controllers\DashboardController.cs:line 116
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at HgLab.Areas.Dashboard.Controllers.DashboardController.Dashboard() in d:\projects\hglab\src\HgLab\Areas\Dashboard\Controllers\DashboardController.cs:line 39
   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__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
   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.ExecuteCore()
   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
   at HgLab.Core.Framework.Web.HgLabControllerBase.Execute(RequestContext requestContext) in d:\projects\hglab\src\HgLab.Core\Framework\Web\HgLabControllerBase.cs:line 69
   at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
   at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()
   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.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d()
   at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f)
   at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action)
   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)

  1. Support Staff 1 Posted by Anton Gogolev on 12 Nov, 2013 06:38 AM

    Anton Gogolev's Avatar

    Pieter,

    Apologies for the delay: your message ended up in Spam folder here in Tender.

    Can we set up a TeamViewer session to sort his out?

  2. 2 Posted by Pieter Jansen v... on 12 Nov, 2013 07:08 PM

    Pieter Jansen van Vuuren's Avatar

    Hi,

    No worries, I figured it out.
    I was trying to upgrade from 0.2.6 to 0.4.6.
    I went back and upgraded to 0.3.8 first and the to 0.4.6 and that solved the problem.

    Cheers,

    Pieter

  3. Support Staff 3 Posted by Anton Gogolev on 12 Nov, 2013 09:31 PM

    Anton Gogolev's Avatar

    Pieter,

    Glad you figured it out and sorry for docs not being clear enough.

  4. Anton Gogolev closed this discussion on 12 Nov, 2013 09:31 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Jan, 2025 05:02 PM
13 Jan, 2025 10:42 AM
29 Nov, 2024 10:00 AM
12 Jan, 2023 12:25 PM
10 Jan, 2023 04:49 PM