Copied to clipboard

Flag this post as spam?

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


  • rboogaerts 11 posts 132 karma points
    Apr 04, 2017 @ 16:21
    rboogaerts
    0

    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?

    Thanks!

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Apr 07, 2017 @ 14:13
    Alex Skrypnyk
    0

    Hi rboogaerts

    Are you using PetaPOCO?

    Do you have some custom code on your page?

    Thanks,

    Alex

  • rboogaerts 11 posts 132 karma points
    Apr 10, 2017 @ 12:47
    rboogaerts
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft