An unhandled exception occurred System.IndexOutOfRangeException after restart
A few seconds after my umbraco 7.5.10 website restarted, i got this exception:
An unhandled exception occurred
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at Umbraco.Core.Persistence.Database.PocoData.AddConverterToStack(ILGenerator il, Func`2 converter)
at Umbraco.Core.Persistence.Database.PocoData.<>c__DisplayClass37.<GetFactory>b__34()
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at Umbraco.Core.Persistence.Database.PocoData.GetFactory(String sql, String connString, Boolean ForceDateTimesToUtc, Int32 firstColumn, Int32 countColumns, IDataReader r)
at Umbraco.Core.Persistence.Database.<Query>d__7`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Umbraco.Core.Persistence.Database.Fetch[T](String sql, Object[] args)
at Umbraco.Core.Persistence.Database.Fetch[T](Sql sql)
at Umbraco.Core.Persistence.Repositories.LanguageRepository.PerformGetAll(Int32[] ids)
at Umbraco.Core.Cache.FullDataSetRepositoryCachePolicy`2.PerformGetAll(Func`2 getFromRepo)
at Umbraco.Core.Cache.FullDataSetRepositoryCachePolicy`2.GetAll(TId[] ids, Func`2 getFromRepo)
at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.GetAll(TId[] ids)
at Umbraco.Core.Services.LocalizationService.GetAllLanguages()
at Umbraco.Web.Routing.PublishedContentRequestEngine.FindDomain()
at Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest()
at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext)
at Umbraco.Web.UmbracoModule.<Init>b__8(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
This persisted until I restarted the web app. The website and database are hosted on Azure.
Does anyone know the reason for this issue? Should I add a request to the issue tracker for this?
We don't use PetaPOCO.
What exactly do you mean with custom code on your page?
We have our own layouts for each document type and have some logic to render these.
An unhandled exception occurred System.IndexOutOfRangeException after restart
A few seconds after my umbraco 7.5.10 website restarted, i got this exception:
This persisted until I restarted the web app. The website and database are hosted on Azure.
Does anyone know the reason for this issue? Should I add a request to the issue tracker for this?
Thanks!
Hi rboogaerts
Are you using PetaPOCO?
Do you have some custom code on your page?
Thanks,
Alex
Hi Alex
We don't use PetaPOCO. What exactly do you mean with custom code on your page? We have our own layouts for each document type and have some logic to render these.
Thank you!
is working on a reply...