Open article

Features

System.Exception: Exception while creating a value. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Collections.Generic.Stack`1.Pop()
   at Marsman.UmbracoCodeFirst.Core.CodeFirstModelContext.ResetContext()
   at Marsman.UmbracoCodeFirst.Core.Modules.ContentModelModuleBase`3.CreateInstanceFromPublishedContent(IPublishedContent content, ContentTypeRegistration registration, CodeFirstModelContext parentContext)
   at Marsman.UmbracoCodeFirst.Core.Modules.ContentModelModuleBase`3.ConvertToModelInternal[Tmodel](IPublishedContent content, CodeFirstModelContext parentContext)
   at Marsman.UmbracoCodeFirst.Core.Modules.DocumentModelModule.ConvertToModel[T](IPublishedContent content, CodeFirstModelContext parentContext)
   at Marsman.UmbracoCodeFirst.Extensions.ContentExtensions.ConvertDocumentToModel[T](IPublishedContent content, CodeFirstModelContext parentContext)
   at BACP.Web.Presentation.DocumentTypes.Pages.Page.GetPage(Int32 id) in D:\a\1\s\BACP.Web.Presentation\DocumentTypes\Pages\Page.cs:line 56
   at BACP.Web.Presentation.Models.Grid.Signpost.get_SelectedPage() in D:\a\1\s\BACP.Web.Presentation\Models\Grid\Signpost.cs:line 22
   at ASP._Page_Views_Partials_Grid_Editors_Signpost_Content_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 System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
   at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)
   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
   at Umbraco.Web.CacheHelperExtensions.<>c__DisplayClass1_0.<CachedPartialView>b__0()
   at Umbraco.Core.Cache.CacheProviderExtensions.<>c__DisplayClass0_0`1.<GetCacheItem>b__0()
   at Umbraco.Core.Cache.DictionaryCacheProviderBase.<>c__DisplayClass10_0.<GetSafeLazy>b__0()
   --- End of inner exception stack trace ---
   at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItemInternal(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, Func`1 dependency)
   at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles)
   at Umbraco.Core.Cache.DeepCloneRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles)
   at Umbraco.Web.CacheHelperExtensions.CachedPartialView(CacheHelper cacheHelper, HtmlHelper htmlHelper, String partialViewName, Object model, Int32 cachedSeconds, String cacheKey, ViewDataDictionary viewData)
   at Umbraco.Web.HtmlHelperRenderExtensions.CachedPartial(HtmlHelper htmlHelper, String partialViewName, Object model, Int32 cachedSeconds, Boolean cacheByPage, Boolean cacheByMember, ViewDataDictionary viewData, Func`3 contextualKeyBuilder)
   at ASP._Page_views_partials_grid_editors_signpost_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 System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
   at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)
   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model)
   at ASP._Page_Views_Partials_grid_editors_base_cshtml.Execute()
System.Exception: Exception while creating a value. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Collections.Generic.Stack`1.Push(T item)
   at Marsman.UmbracoCodeFirst.Core.CodeFirstModelContext.MoveNextContext(Object instance, CodeFirstRegistration registration, CodeFirstModelContext parentContext)
   at Marsman.UmbracoCodeFirst.Core.CodeFirstModelContext.CreateContextualInstance(Type type, CodeFirstRegistration registration, Dictionary`2& dict, CodeFirstModelContext parentContext, Boolean useProxy)
   at Marsman.UmbracoCodeFirst.Core.Modules.ContentModelModuleBase`3.CreateInstanceFromPublishedContent(IPublishedContent content, ContentTypeRegistration registration, CodeFirstModelContext parentContext)
   at Marsman.UmbracoCodeFirst.Core.Modules.ContentModelModuleBase`3.ConvertToModelInternal[Tmodel](IPublishedContent content, CodeFirstModelContext parentContext)
   at Marsman.UmbracoCodeFirst.Core.Modules.DocumentModelModule.ConvertToModel[T](IPublishedContent content, CodeFirstModelContext parentContext)
   at Marsman.UmbracoCodeFirst.Extensions.ContentExtensions.ConvertDocumentToModel[T](IPublishedContent content, CodeFirstModelContext parentContext)
   at BACP.Web.Presentation.DocumentTypes.Pages.Page.GetPage(Int32 id) in D:\a\1\s\BACP.Web.Presentation\DocumentTypes\Pages\Page.cs:line 56
   at BACP.Web.Presentation.Models.Grid.Signpost.get_SelectedPage() in D:\a\1\s\BACP.Web.Presentation\Models\Grid\Signpost.cs:line 22
   at ASP._Page_Views_Partials_Grid_Editors_Signpost_Content_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 System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
   at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)
   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
   at Umbraco.Web.CacheHelperExtensions.<>c__DisplayClass1_0.<CachedPartialView>b__0()
   at Umbraco.Core.Cache.CacheProviderExtensions.<>c__DisplayClass0_0`1.<GetCacheItem>b__0()
   at Umbraco.Core.Cache.DictionaryCacheProviderBase.<>c__DisplayClass10_0.<GetSafeLazy>b__0()
   --- End of inner exception stack trace ---
   at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItemInternal(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, Func`1 dependency)
   at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles)
   at Umbraco.Core.Cache.DeepCloneRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles)
   at Umbraco.Web.CacheHelperExtensions.CachedPartialView(CacheHelper cacheHelper, HtmlHelper htmlHelper, String partialViewName, Object model, Int32 cachedSeconds, String cacheKey, ViewDataDictionary viewData)
   at Umbraco.Web.HtmlHelperRenderExtensions.CachedPartial(HtmlHelper htmlHelper, String partialViewName, Object model, Int32 cachedSeconds, Boolean cacheByPage, Boolean cacheByMember, ViewDataDictionary viewData, Func`3 contextualKeyBuilder)
   at ASP._Page_views_partials_grid_editors_signpost_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 System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
   at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)
   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model)
   at ASP._Page_Views_Partials_grid_editors_base_cshtml.Execute()

Regulars

News and resources
A summary of current issues and opportunities in our sector

Book reviews
Featuring 'Confidentiality and record keeping in counselling and psychotherapy', B Mitchels and T Bond, and 'The power of music', R Kennedy.

Columnists

Taking stock

Mark Fudge

"...I think we need to be proud of how we’ve adapted to supporting students and colleagues, but we also need to take stock of our experience, and regenerate..."

Notes from the Chair, Mark Fudge


Welcome back

Mary Jones

"Let’s hope we can put the events of 2020–2021 behind us and find new ways of moving forward"

Notes from Colleges, Mary Jones


Elation and concern

Yvonne McPartland

"The re-opening of society seems to have given rise to elation and concern in equal measure"

Notes from staff counselling, Yvonne McPartland


Anne Bentley

"So much of our work is about empowering students to become experts in what they need to feel better"

Notes from HUCS, Anne Bentley


The importance of listening

Afra Turner

"... a good therapeutic alliance – empathy and awareness, collaboration and responding to client preferences – are the building blocks..."

Notes from research SIG, Afra Turner