Index Array out of bounds error?

Posted by Community Admin on 03-Aug-2018 22:23

Index Array out of bounds error?

All Replies

Posted by Community Admin on 25-May-2011 00:00

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

Posted by Community Admin on 26-May-2011 00:00

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

Posted by Community Admin on 30-May-2011 00:00

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

This thread is closed