More in this section

Forums / General Discussions / Index Array out of bounds error?

Index Array out of bounds error?

3 posts, 0 answered
  1. Josh
    Josh  avatar
    25 posts
    Registered:
    28 Apr 2009
    25 May 2011
    Link to this post
    Hi,

    I am suddenly getting a "Index array out of bounds error" when I try to access any images/albums.  Even in simpler terms I am getting a server error when I make a call via

    Albums myAlbum = manager.GetAlbums().First() ;

    Here is a sample of the stack error

    IndexOutOfRangeException
    Index was outside the bounds of the array. at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value) at Telerik.Sitefinity.Security.PermissionAttribute..ctor(String permissionSetName, String[] actions) at Telerik.Sitefinity.Security.EnumeratorPermissionAttribute..ctor(String permissionSetName, String[] actions) at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, Boolean inherit) at System.Reflection.RuntimeMethodInfo.GetCustomAttributes(Type attributeType, Boolean inherit) at Telerik.Sitefinity.Security.AuthorizationPermissionProvider.AuthorizeOutput(IMethodInvocation input, IMethodReturn output) at Telerik.Sitefinity.Security.SitefinityAuthorizationCallHandler.Invoke(IMethodInvocation input, GetNextHandlerDelegate getNext) at Telerik.Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline.Invoke(IMethodInvocation input, InvokeHandlerDelegate target) at Telerik.Microsoft.Practices.Unity.InterceptionExtension.PolicyInjectionBehavior.Invoke(IMethodInvocation input, GetNextInterceptionBehaviorDelegate getNext) at Telerik.Microsoft.Practices.Unity.InterceptionExtension.InterceptionBehaviorPipeline.Invoke(IMethodInvocation input, InvokeInterceptionBehaviorDelegate target) at DynamicModule.ns.Wrapped_OpenAccessLibrariesProvider_1bad29f82a2f4e02be68fb57f5bc701c.GetAlbums() at Telerik.Sitefinity.Modules.Libraries.LibrariesManager.GetAlbums() at pool_featured.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 
    /flash/pool_featured_test.ashx
    64.40.114.103
    Anonymous
    False
    Sitefinity
    IIS APPPOOL\site
    22
    IIS APPPOOL\site
    False
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value) at Telerik.Sitefinity.Security.PermissionAttribute..ctor(String permissionSetName, String[] actions) at Telerik.Sitefinity.Security.EnumeratorPermissionAttribute..ctor(String permissionSetName, String[] actions) at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, Boolean inherit) at System.Reflection.RuntimeMethodInfo.GetCustomAttributes(Type attributeType, Boolean inherit) at Telerik.Sitefinity.Security.AuthorizationPermissionProvider.AuthorizeOutput(IMethodInvocation input, IMethodReturn output) at Telerik.Sitefinity.Security.SitefinityAuthorizationCallHandler.Invoke(IMethodInvocation input, GetNextHandlerDelegate getNext) at Telerik.Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline.Invoke(IMethodInvocation input, InvokeHandlerDelegate target) at Telerik.Microsoft.Practices.Unity.InterceptionExtension.PolicyInjectionBehavior.Invoke(IMethodInvocation input, GetNextInterceptionBehaviorDelegate getNext) at Telerik.Microsoft.Practices.Unity.InterceptionExtension.InterceptionBehaviorPipeline.Invoke(IMethodInvocation input, InvokeInterceptionBehaviorDelegate target) at DynamicModule.ns.Wrapped_OpenAccessLibrariesProvider_1bad29f82a2f4e02be68fb57f5bc701c.GetAlbums() at Telerik.Sitefinity.Modules.Libraries.LibrariesManager.GetAlbums() at pool_featured.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

    Any assistance please.

    Kind Regards,

    Josh
  2. Josh
    Josh  avatar
    25 posts
    Registered:
    28 Apr 2009
    26 May 2011
    Link to this post
    Hi,

    Not sure what happened but the issue seem to have disappeared this morning as all the pages work fine now.  I will try to investigate as to what the cause was.

    Regards,

    Josh
  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    30 May 2011
    Link to this post
    Hi Josh ,

    We will certainly investigate this. 
    Have you done anything else? Perhaps the error was cleared when the web site has been restarted?

    Best wishes,
    Georgi
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered