spring.net 索引超出了数组界限。

wqjqrgtgr 发布于 2016/09/14 14:29
阅读 184
收藏 0

领取 1000元人民币SageMaker大礼包!>>>

// Spring.Objects.Factory.Support.AbstractObjectFactory
public virtual string[] GetSingletonNames()
{
    string[] result;
    lock (this.singletonCache)
    {
        ICollection keys = this.singletonCache.Keys;
        result = (string[])new ArrayList(keys).ToArray(typeof(string));
    }
    return result;
}

IndexOutOfRangeException

   索引超出了数组界限。 在 System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
在 System.Collections.Specialized.OrderedDictionary.OrderedDictionaryKeyValueCollection.System.Collections.ICollection.CopyTo(Array array, Int32 index)
 在 System.Collections.ArrayList.InsertRange(Int32 index, ICollection c)
在 Spring.Objects.Factory.Support.AbstractObjectFactory.GetSingletonNames() 在

Spring.Objects.Factory.Support.DefaultListableObjectFactory.DoGetObjectNamesForType(Type type, Boolean includeNonSingletons, Boolean allowEagerInit) 在

Spring.Objects.Factory.Support.DefaultListableObjectFactory.GetObjectsOfType(Type type, Boolean includePrototypes, Boolean includeFactoryObjects) 在 Spring.Context.Support.AbstractApplicationContext.GetObjectsOfType(Type type, Boolean includePrototypes, Boolean includeFactoryObjects) 在 Spring.Context.Support.AbstractApplicationContext.GetObjectsOfType(Type type) 在 Spring.Web.Mvc.SpringControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) 在 System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) 在 Spring.Web.Mvc.SpringControllerFactory.CreateController(RequestContext requestContext, String controllerName) 在 System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) 在 System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<BeginProcessRequest>b__2() 在 System.Web.Mvc.SecurityUtil.<>c__DisplayClassb`1.<ProcessInApplicationTrust>b__a() 在 System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust[TResult](Func`1 func) 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 
加载中
0
w
wqjqrgtgr
Spring.Net中的错误,大神帮忙看看
0
w
wqjqrgtgr
遇到问题了没人回复,看来spring.net用的人不多
返回顶部
顶部