Console log: 'Microsoft.Maui.UnitTests.dll' from job f3c5190c-6e99-4243-a924-b4f6e4c4802c workitem d6ccd3b1-d186-46df-a3de-bec88422519a (windows.10.amd64.open) executed on machine a00ENXN running Windows-2016Server-10.0.14393-SP0 C:\h\w\A79E091C\w\BF490A05\e>set PATH=C:\h\w\A79E091C\p\dotnet-cli;C:\python3\Scripts\;C:\python3\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Debuggers\x64;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Users\runner\AppData\Local\Microsoft\WindowsApps C:\h\w\A79E091C\w\BF490A05\e>set DOTNET_ROOT=C:\h\w\A79E091C\p\dotnet-cli C:\h\w\A79E091C\w\BF490A05\e>set DOTNET_CLI_TELEMETRY_OPTOUT=1 C:\h\w\A79E091C\w\BF490A05\e>set DOTNET_CLI_HOME=C:\h\w\A79E091C\w\BF490A05\e\.dotnet C:\h\w\A79E091C\w\BF490A05\e>set NUGET_PACKAGES=C:\h\w\A79E091C\w\BF490A05\e\.nuget C:\h\w\A79E091C\w\BF490A05\e>dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json C:\h\w\A79E091C\p/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.UnitTests.dll -nocolor -xml testResults.xml xUnit.net Console Runner v2.9.3+9712244020 (64-bit .NET 10.0.0) Discovering: Microsoft.Maui.UnitTests Discovered: Microsoft.Maui.UnitTests Starting: Microsoft.Maui.UnitTests LclFilesMissingJsonKeys [SKIP] Skipped because doesn t work on helix DurationMetricsRecordWithoutActivityListeners(instrumentName: "maui.layout.arrange_duration") [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs(117,0): at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.CreateMauiApp() /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs(75,0): at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.DurationMetricsRecordWithoutActivityListeners(String instrumentName) at InvokeStub_LayoutDiagnosticsTests.DurationMetricsRecordWithoutActivityListeners(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) MeasureAndArrangeDoNotAllocateWithoutListeners [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs(117,0): at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.CreateMauiApp() /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs(26,0): at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.MeasureAndArrangeDoNotAllocateWithoutListeners() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) EventsMustBeInvokedUsingExactDelegate [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(109,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.EventsMustBeInvokedUsingExactDelegate() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddMultipleEventsViaMultipleConfigureLifecycleEvents [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(129,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddMultipleEventsViaMultipleConfigureLifecycleEvents() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) InvokingUnregisteredEventsDoesNotThrow [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(55,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.InvokingUnregisteredEventsDoesNotThrow() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) EventsFireExactlyOnce [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(71,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.EventsFireExactlyOnce() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddMultipleEventsViaBuilder [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(148,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddMultipleEventsViaBuilder() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddDelegateEvent [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(41,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddDelegateEvent() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) DelegateEventsFireExactlyOnce [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(88,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.DelegateEventsFireExactlyOnce() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddCustomEvent [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(29,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddCustomEvent() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConfigureLifecycleEventsRegistersService [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(18,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.ConfigureLifecycleEventsRegistersService() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HorizontalOrientationConstrainsViewsVerticallyWhenConstrained [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() at Microsoft.Maui.Controls.StackBase..ctor() at Microsoft.Maui.Controls.StackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/StackLayoutTests.cs(32,0): at Microsoft.Maui.UnitTests.Layouts.StackLayoutTests.HorizontalOrientationConstrainsViewsVerticallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) VerticalOrientationConstrainsViewsHorizontallyWhenConstrained [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() at Microsoft.Maui.Controls.StackBase..ctor() at Microsoft.Maui.Controls.StackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/StackLayoutTests.cs(12,0): at Microsoft.Maui.UnitTests.Layouts.StackLayoutTests.VerticalOrientationConstrainsViewsHorizontallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderThrowsWhenOnlyInterfacesRelatedByInheritanceAreRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(213,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderThrowsWhenOnlyInterfacesRelatedByInheritanceAreRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderDoesNotResolveHandlersRegisteredUnderMoreDerivedTypes [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(168,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderDoesNotResolveHandlersRegisteredUnderMoreDerivedTypes() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeDespiteAmbiguousInterfacesRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(233,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeDespiteAmbiguousInterfacesRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: True, retrieveHandlerServiceWithGenerics: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: True, retrieveHandlerServiceWithGenerics: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: False, retrieveHandlerServiceWithGenerics: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: False, retrieveHandlerServiceWithGenerics: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderCanBuildAHost [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(15,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanBuildAHost() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeOverInterfaceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(146,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeOverInterfaceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesHandlerTypeForServiceRegisteredWithType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(257,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerTypeForServiceRegisteredWithType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderCannotResolveHandlerTypeForServiceRegisteredWithFactory [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(270,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCannotResolveHandlerTypeForServiceRegisteredWithFactory() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesLastRegisteredHandlerServiceForServiceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(71,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesLastRegisteredHandlerServiceForServiceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderThrowsWhenNoMatchingHandlerServiceTypeIsRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(90,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderThrowsWhenNoMatchingHandlerServiceTypeIsRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesToHandlerRegisteredUnderMostDerivedBaseInterfaceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(123,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderMostDerivedBaseInterfaceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.IViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.ViewHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.ViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.ViewHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyDerivedViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderWithDefaultsRegistersMauiHandlersFactory [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(24,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderWithDefaultsRegistersMauiHandlersFactory() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.IViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+IMyBaseViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+IMyDerivedViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ConstrainsViewsHorizontallyWhenConstrained [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() at Microsoft.Maui.Controls.StackBase..ctor() at Microsoft.Maui.Controls.VerticalStackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/VerticalStackLayoutTests.cs(12,0): at Microsoft.Maui.UnitTests.Layouts.VerticalStackLayoutTests.ConstrainsViewsHorizontallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MultipleServicesAreRegisteredWithoutBuilder [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServiceBuilderTests.cs(18,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServiceBuilderTests.MultipleServicesAreRegisteredWithoutBuilder() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResxLocalizationStringsAreTranslated [SKIP] Skipped because doesn t work on helix ResxLocalizationStringsAreDisplayedProperly [SKIP] Skipped because doesn t work on helix Finished: Microsoft.Maui.UnitTests === TEST EXECUTION SUMMARY === Microsoft.Maui.UnitTests Total: 839, Errors: 0, Failed: 37, Skipped: 3, Time: 3.194s C:\h\w\A79E091C\w\BF490A05\e>set _commandExitCode=1 C:\h\w\A79E091C\w\BF490A05\e>C:\python3\python.exe C:\h\w\A79E091C\p\reporter\run.py https://dev.azure.com/dnceng-public/ public 40022616 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IndoMDZzRWt6TEhKNXNOTmFVeVJZMl82TzhLMCIsImtpZCI6IndoMDZzRWt6TEhKNXNOTmFVeVJZMl82TzhLMCJ9.eyJhdWQiOiI0OTliODRhYy0xMzIxLTQyN2YtYWExNy0yNjdjYTY5NzU3OTgiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzgwMzMwNDc1LCJuYmYiOjE3ODAzMzA0NzUsImV4cCI6MTc4MDQxNzE3NSwiYWlvIjoiazJGZ1lPQzZYemJyWDYyYkE1ZVdURDFmcWF0dWJQT25ZS2taUGlMVzUzNFlxaC9hOUFVQSIsImlkcCI6Imh0dHBzOi8vc3RzLndpbmRvd3MubmV0LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny8iLCJpZHR5cCI6ImZtaSIsInJoIjoiMS5BUm9BdjRqNWN2R0dyMEdScXkxODBCSGJSNnlFbTBraEUzOUNxaGNtZkthWFY1Z0FBQUFhQUEuIiwic3ViIjoiL2VpZDEvYy9wdWIvdC92NGo1Y3ZHR3IwR1JxeTE4MEJIYlJ3L2EvcklTYlNTRVRmMEtxRnlaOHBwZFhtQS9icy9oLzZmY2M5MmU1LTczYTctNGY4OC04ZDEzLWQ5MDQ1YjQ1ZmIyNy9pL2M3NzNmMmMyLTUxMjAtNDIwNy1hZmUyLWFmYWYzNWE4YmMwYSIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInV0aSI6IjlYQTVwcE45dmtpZjRUQ1BVSklMQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfYXR0ciI6eyJySVNiU1NFVGYwS3FGeVo4cHBkWG1BIjp7ImFkb19leHAiOjE3ODAzNDU3NzYsImFkb19zY3AiOiJSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTpjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDkvZG90bmV0L21hdWkvMzAyOkJ1aWxkL0J1aWxkLzE0NDQwNzggUmVhZEFuZFB1Ymxpc2hUZXN0OmNiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBQaXBlbGluZUNhY2hlLlJlYWRXcml0ZVJvb3RBY2Nlc3MiLCJhdWkiOiIwMDQ5ODZhYi1jODY2LTQyOTMtOTRkNi0zZTEzMzliYjY1NjYiLCJCdWlsZElkIjoiY2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5OzE0NDQwNzgiLCJEZWZJZCI6IjMwMiIsImpvYnJlZiI6IjgwZTkwYzRmLTU4NzctNGJhNS05MmEwLWE3ZTVlZjAwZTE2MDplOWQ0OGRjYi1lYjEzLTViMDQtNjg3MS1hYTdjZDAzMWI4MmQiLCJvcmNoaWQiOiI4MGU5MGM0Zi01ODc3LTRiYTUtOTJhMC1hN2U1ZWYwMGUxNjAuaGVsaXh0ZXN0cy50ZXN0X2hlbGl4X3VuaXRfdGVzdHNfd2luZG93c19yZWxlYXNlLl9fZGVmYXVsdCIsInBjYyI6Ilt7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL2hlYWRzL2luZmxpZ2h0L2N1cnJlbnQ7ZG90bmV0L21hdWlcIixcIlBlcm1pc3Npb25cIjoxfSx7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL2hlYWRzL2luZmxpZ2h0L2N1cnJlbnQ7ZG90bmV0L21hdWlcIixcIlBlcm1pc3Npb25cIjoxfSx7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL3B1bGwvMzU1NjMvbWVyZ2U7ZG90bmV0L21hdWlcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL2hlYWRzL21hc3Rlcjtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjF9LHtcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvaGVhZHMvbWFpbjtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjF9XSIsInBwaWQiOiJ2c3RmczovLy9CdWlsZC9CdWlsZC8xNDQ0MDc4In19LCJ4bXNfaWRyZWwiOiIzMyAxNiIsInhtc19yZCI6IjAuQVZrQXB2OEtCUWdDRWdFYUVoUUlDUklRb0tYYmNYeW5aRXU4eFBYNWktSm5faElVQ0FzU0VMdkZkV1hod2xsV2ZwVGZ3NVM0eDhBaUpBZ0RFaURnY1FmQXdheXdyQVc0NU8tNHZlaHlrWFdLVHBnajdlSTBOVkhULV9sNjJBIn0.RFXIZI9htrmJpH63k-L1M9VZuD8o0PWazFUHe2cM6B2L3ZYfQ6xgVC5XHV7madXJ9b0MLeQlje8XGZQ99QDEwp3SEcicxkOoWxpVKtyDrRNtvyeXwZZnXSSZW5tU7vFP4U-4Be56lHzI0f-LbR1qfSxn7mBKQh6ub21jx1e995QRiNbco_1DXdVvWOXxXVYyMovCLxE4939AjcoHMARz2W7mGVmBQNJu8GOQO_RPnqt82jOf0FsbMd-Qqk7fv188zE3jD_Lw5qiiyCgen-iTGWCm0E5pN-1BOlmY6GGQTu03u2-83hDXCgB70dM-r2rACh6y3pKrT_GnKEmoaCnzcA || exit /b C:\h\scripts\helix-scripts\azure\__init__.py:5: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources 2026-06-01T17:23:44.465Z INFO run.py managed_identity(151) __init__ ManagedIdentityCredential will use IMDS with client_id: 3423231b-6b9e-4177-8817-76276b647404 2026-06-01T17:23:44.465Z INFO run.py azure_utils(32) get_credential_and_access_token VMSSManagedIdentity VmssMIClientIdForUpload Auth type will be used 2026-06-01T17:23:44.466Z INFO run.py _universal(535) on_request Request URL: 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=REDACTED&client_id=REDACTED' Request method: 'GET' Request headers: 'Metadata': 'REDACTED' 'x-client-SKU': 'REDACTED' 'x-client-Ver': 'REDACTED' 'x-ms-client-request-id': '42f5f070-8016-418b-9de0-1990852eca41' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.13.9 (Windows-2016Server-10.0.14393-SP0)' No body was attached to the request 2026-06-01T17:23:44.477Z INFO run.py _universal(581) on_response Response status: 200 Response headers: 'Content-Type': 'application/json; charset=utf-8' 'Server': 'IMDS/150.870.65.2020' 'x-ms-request-id': '42f5f070-8016-418b-9de0-1990852eca41' 'Date': 'Mon, 01 Jun 2026 17:23:44 GMT' 'Content-Length': '2464' 2026-06-01T17:23:44.477Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token succeeded 2026-06-01T17:23:44.477Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token succeeded 2026-06-01T17:23:44.477Z INFO run.py azure_utils(64) get_credential_and_access_token Credentials are valid 2026-06-01T17:23:44.478Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token_info succeeded 2026-06-01T17:23:44.478Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token_info succeeded 2026-06-01T17:23:44.871Z INFO run.py run(48) main Beginning reading of test results. 2026-06-01T17:23:44.871Z INFO run.py __init__(42) read_results Searching 'C:\h\w\A79E091C\w\BF490A05\e' for test results files 2026-06-01T17:23:44.872Z INFO run.py __init__(48) read_results Found results file C:\h\w\A79E091C\w\BF490A05\e\testResults.xml with format xunit 2026-06-01T17:23:44.885Z INFO run.py __init__(42) read_results Searching 'C:\h\w\A79E091C\w\BF490A05\uploads' for test results files 2026-06-01T17:23:44.886Z INFO run.py packing_test_reporter(30) report_results Packing 839 test reports to 'C:\h\w\A79E091C\w\BF490A05\e\__test_report.json' 2026-06-01T17:23:44.888Z INFO run.py packing_test_reporter(33) report_results Packed 316573 bytes C:\h\w\A79E091C\w\BF490A05\e>EXIT /b 1 ['Microsoft.Maui.UnitTests.dll' END OF WORK ITEM LOG: Command exited with 1]