You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
Just downloaded the project and tried to run tests and none of the persistence test succeeded.
Same error for each test:
Message:
System.ArgumentException : GenericArguments[0], 'Orleans.Persistence.CosmosDB.CosmosDBGrainStorage', on 'Microsoft.Extensions.Options.OptionsMonitor
1[TOptions]' violates the constraint of type 'TOptions'. ---- System.TypeLoadException : GenericArguments[0], 'Orleans.Persistence.CosmosDB.CosmosDBGrainStorage', on 'Microsoft.Extensions.Options.OptionsMonitor
1[TOptions]' violates the constraint of type parameter 'TOptions'.Stack Trace:
RuntimeType.ValidateGenericArguments(MemberInfo definition, RuntimeType[] genericArguments, Exception e)
RuntimeType.MakeGenericType(Type[] instantiation)
CallSiteFactory.TryCreateOpenGeneric(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
CallSiteFactory.TryCreateOpenGeneric(Type serviceType, CallSiteChain callSiteChain)
CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
<>c__DisplayClass7_0.b__0(Type type)
ConcurrentDictionary
2.GetOrAdd(TKey key, Func
2 valueFactory)CallSiteFactory.GetCallSite(Type serviceType, CallSiteChain callSiteChain)
ServiceProviderEngine.CreateServiceAccessor(Type serviceType)
ConcurrentDictionary
2.GetOrAdd(TKey key, Func
2 valueFactory)ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
ServiceProviderEngineScope.GetService(Type serviceType)
ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
CosmosDBGrainStorageFactory.Create(IServiceProvider services, String name) line 467
<.ctor>b__0()
Lazy
1.ViaFactory(LazyThreadSafetyMode mode) Lazy
1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)Lazy
1.CreateValue() Lazy
1.get_Value()KeyedSingletonService
2.GetService(IServiceProvider services) KeyedServiceCollection
2.GetService(IServiceProvider services, TKey key)KeyedServiceCollectionExtensions.GetServiceByKey[TKey,TService](IServiceProvider services, TKey key)
KeyedServiceCollectionExtensions.GetRequiredServiceByKey[TKey,TService](IServiceProvider services, TKey key)
KeyedServiceCollectionExtensions.GetRequiredServiceByName[TService](IServiceProvider services, String name)
<>c.b__27_2(IServiceProvider s, String n) line 289
<.ctor>b__0()
Lazy
1.ViaFactory(LazyThreadSafetyMode mode) Lazy
1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)Lazy
1.CreateValue() Lazy
1.get_Value()KeyedSingletonService
2.GetService(IServiceProvider services) <.ctor>b__64_1(IKeyedService
2 s)SelectArrayIterator
2.MoveNext() Silo.ctor(ILocalSiloDetails siloDetails, IServiceProvider services) RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument) CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument) CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument) CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
<>c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)
ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
ServiceProviderEngineScope.GetService(Type serviceType)
ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
Host.StartAsync(CancellationToken cancellationToken)
----- Inner Stack Trace -----
RuntimeTypeHandle.Instantiate(Type[] inst)
RuntimeType.MakeGenericType(Type[] instantiation)
The text was updated successfully, but these errors were encountered: