Accessing certain projects throwing exception.

Automated deployment for web applications and databases

Accessing certain projects throwing exception.

Postby ktersius » Tue Jul 23, 2013 2:06 pm

Hi

When I try to access two of our projects a null reference is thrown.

System.NullReferenceException: Object reference not set to an instance of an object.
at RedGate.Deploy.Portal.Views.Projects.Show.<Execute>b__7(EnvironmentModel x)
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 RedGate.Deploy.Portal.Views.Projects.Show.Execute()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.StartPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at RazorGenerator.Mvc.PrecompiledMvcView.Render(ViewContext viewContext, TextWriter writer)
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
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)
ktersius
 
Posts: 10
Joined: Thu Mar 07, 2013 8:16 am

Postby james.billings » Tue Jul 23, 2013 2:34 pm

Could you confirm which version you're running? This looks a little like a problem we saw briefly yesterday, and a later update should have helped fix it.
james.billings
 
Posts: 1120
Joined: Wed Jun 16, 2010 11:10 am
Location: Red Gate

Postby ktersius » Tue Jul 23, 2013 2:42 pm

v2.1.4.2
ktersius
 
Posts: 10
Joined: Thu Mar 07, 2013 8:16 am

Postby david.conlin » Tue Jul 23, 2013 2:51 pm

We've reproduced this (it's to do with deleting an environment that the project has been deployed to) and are working on a fix.

Thanks for the bug report.
David Conlin
Software Developer
Deployment Manager
david.conlin
 
Posts: 50
Joined: Fri May 04, 2012 3:44 pm

Postby david.conlin » Tue Jul 23, 2013 6:19 pm

Hi there - we've fixed this bug and it will be in the next release.

If you PM me your email address, I'll email you a private build with the fix.
David Conlin
Software Developer
Deployment Manager
david.conlin
 
Posts: 50
Joined: Fri May 04, 2012 3:44 pm


Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests