Console log: 'Microsoft.Maui.UnitTests.dll' from job ff525e8a-c174-4cc2-b1f4-144b386b5738 workitem e463c058-db78-4926-bc9f-e04eb719ba26 (osx.15.arm64.maui.open) executed on machine BOT-0308 running macOS-15.7.1 chmod: /tmp/helix/working/B33A0948/w/ACA00981/e/*.sh: No such file or directory + export PATH=/tmp/helix/working/B33A0948/p/dotnet-cli:/etc/helix-prep/venv/bin:/usr/bin:/bin:/usr/sbin:/sbin + PATH=/tmp/helix/working/B33A0948/p/dotnet-cli:/etc/helix-prep/venv/bin:/usr/bin:/bin:/usr/sbin:/sbin + export DOTNET_ROOT=/tmp/helix/working/B33A0948/p/dotnet-cli + DOTNET_ROOT=/tmp/helix/working/B33A0948/p/dotnet-cli + export DOTNET_CLI_TELEMETRY_OPTOUT=1 + DOTNET_CLI_TELEMETRY_OPTOUT=1 + export DOTNET_CLI_HOME=/tmp/helix/working/B33A0948/w/ACA00981/e/.dotnet + DOTNET_CLI_HOME=/tmp/helix/working/B33A0948/w/ACA00981/e/.dotnet + export NUGET_PACKAGES=/tmp/helix/working/B33A0948/w/ACA00981/e/.nuget + NUGET_PACKAGES=/tmp/helix/working/B33A0948/w/ACA00981/e/.nuget + dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json /tmp/helix/working/B33A0948/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 ChainingToLessTypedParentWorks [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() at Microsoft.Maui.UnitTests.ButtonStub..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(124,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.ChainingToLessTypedParentWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) BrushValuesMatchColorValues [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(12,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor() /_/src/Controls/src/Core/ImmutableBrush.cs(14,0): at Microsoft.Maui.Controls.ImmutableBrush..ctor(Color color) /_/src/Controls/src/Core/Brush/Brush.cs(214,0): at Microsoft.Maui.Controls.Brush.get_DarkGoldenrod() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) TestDefaultBorderStrokeShape [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() at Microsoft.Maui.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(16,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestDefaultBorderStrokeShape() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanUseFactoryForAlternateType [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(147,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.CanUseFactoryForAlternateType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) SettingVirtualViewOnHandlerRemovesHandlerFromPreviousVirtualView [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(99,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.SettingVirtualViewOnHandlerRemovesHandlerFromPreviousVirtualView() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) FactoryCanCustomizeBasedOnVirtualView [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.CustomButton..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(179,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.FactoryCanCustomizeBasedOnVirtualView() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) TestSetChild [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() at Microsoft.Maui.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(115,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestSetChild() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) TestBorderPropagateBindingContext [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() at Microsoft.Maui.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(25,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestBorderPropagateBindingContext() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConnectAndDisconnectFireAppropriateNumberOfTimes [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(17,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.ConnectAndDisconnectFireAppropriateNumberOfTimes() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) FactoryCanPuntAndUseOriginalType [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(158,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.FactoryCanPuntAndUseOriginalType() 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) CanCreateLogger [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/HostBuilderServicesTests.cs(318,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.CanCreateLogger() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) BorderStrokeSubscribed [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(19,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor(Color color) /_/src/Core/tests/UnitTests/Views/BorderTests.cs(79,0): at Microsoft.Maui.UnitTests.Views.BorderTests.BorderStrokeSubscribed() --- End of stack trace from previous location --- GetServiceHandlesUsesCorrectCtor_FooBarCat [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/HostBuilderServicesTests.cs(165,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooBarCat() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.Rectangle)) [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/Shapes/Shape.cs(22,0): at Microsoft.Maui.Controls.Shapes.Shape..ctor() /_/src/Controls/src/Core/Shapes/Rectangle.cs(16,0): at Microsoft.Maui.Controls.Shapes.Rectangle..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.RoundRectangle)) [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/Shapes/Shape.cs(22,0): at Microsoft.Maui.Controls.Shapes.Shape..ctor() /_/src/Controls/src/Core/Shapes/RoundRectangle.cs(10,0): at Microsoft.Maui.Controls.Shapes.RoundRectangle..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) GetServiceHandlesUsesCorrectCtor_DefaultWithNothing [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/HostBuilderServicesTests.cs(76,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_DefaultWithNothing() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.Ellipse)) [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/Shapes/Shape.cs(22,0): at Microsoft.Maui.Controls.Shapes.Shape..ctor() /_/src/Controls/src/Core/Shapes/Ellipse.cs(15,0): at Microsoft.Maui.Controls.Shapes.Ellipse..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) TestReplaceChild [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() at Microsoft.Maui.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(137,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestReplaceChild() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) TestStrokeShapeBindingContext [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() at Microsoft.Maui.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(41,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestStrokeShapeBindingContext() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveDifferentTransientServices [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/HostBuilderServicesTests.cs(266,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveDifferentTransientServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanGetServices [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/HostBuilderServicesTests.cs(17,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.CanGetServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceThrowsWhenConstructorParamTypesWereNotRegistered [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/HostBuilderServicesTests.cs(27,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceThrowsWhenConstructorParamTypesWereNotRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ShapeFillDoesNotLeak [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(19,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor(Color color) /_/src/Core/tests/UnitTests/Views/ShapeTests.cs(39,0): at Microsoft.Maui.UnitTests.Views.ShapeTests.ShapeFillDoesNotLeak() --- End of stack trace from previous location --- ShapeFillSubscribed [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(12,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor() /_/src/Core/tests/UnitTests/Views/ShapeTests.cs(16,0): at Microsoft.Maui.UnitTests.Views.ShapeTests.ShapeFillSubscribed() --- End of stack trace from previous location --- GetServiceHandlesUsesCorrectCtor_FooBar [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/HostBuilderServicesTests.cs(146,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooBar() 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) GetServiceHandlesUsesCorrectCtor_DefaultWithBar [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/HostBuilderServicesTests.cs(93,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_DefaultWithBar() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ShapeStrokeDoesNotLeak [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(19,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor(Color color) /_/src/Core/tests/UnitTests/Views/ShapeTests.cs(71,0): at Microsoft.Maui.UnitTests.Views.ShapeTests.ShapeStrokeDoesNotLeak() --- End of stack trace from previous location --- 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) GetServiceHandlesUsesCorrectCtor_FooWithCat [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/HostBuilderServicesTests.cs(128,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooWithCat() 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) ShapeStrokeSubscribed [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(12,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor() /_/src/Core/tests/UnitTests/Views/ShapeTests.cs(48,0): at Microsoft.Maui.UnitTests.Views.ShapeTests.ShapeStrokeSubscribed() --- End of stack trace from previous location --- 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) GetServiceCanReturnEnumerableParams [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/HostBuilderServicesTests.cs(249,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnEnumerableParams() 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) WillRetrieveMixedServices [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/HostBuilderServicesTests.cs(287,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveMixedServices() 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) GetServiceCanReturnTypesThatHaveSystemDefaultValues [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/HostBuilderServicesTests.cs(231,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveSystemDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveRegisteredConstructorParamsAndHaveDefaultValues [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/HostBuilderServicesTests.cs(214,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveRegisteredConstructorParamsAndHaveDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ChainingMappersStillAllowReplacingChainedRoot [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperTests.cs(50,0): at Microsoft.Maui.UnitTests.CommandMapperTests.ChainingMappersStillAllowReplacingChainedRoot() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesFirstOfMultipleConstructors [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/HostBuilderServicesTests.cs(49,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesFirstOfMultipleConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_Foo [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/HostBuilderServicesTests.cs(110,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_Foo() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveSameSingletonServices [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/HostBuilderServicesTests.cs(276,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveSameSingletonServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveUnregisteredConstructorParamsButHaveDefaultValues [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/HostBuilderServicesTests.cs(197,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveUnregisteredConstructorParamsButHaveDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: 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/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/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) GetServiceHandlesSecondOfMultipleConstructors [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/HostBuilderServicesTests.cs(63,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesSecondOfMultipleConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveConstructorParams [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/HostBuilderServicesTests.cs(183,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveConstructorParams() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveEnumerables [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/HostBuilderServicesTests.cs(299,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveEnumerables() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: 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/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/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: 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/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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: 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/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/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) GetServiceThrowsWhenNoPublicConstructors [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/HostBuilderServicesTests.cs(37,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceThrowsWhenNoPublicConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: 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/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/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: 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/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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMapping [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperExtensionTests.cs(77,0): at Microsoft.Maui.UnitTests.PropertyMapperExtensionTests.ModifyMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: 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/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/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: 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/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/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: 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/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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMapping [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperExtensionTests.cs(51,0): at Microsoft.Maui.UnitTests.PropertyMapperExtensionTests.AddBeforeMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddLoggingProviders [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/HostBuilderLoggingTests.cs(35,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderLoggingTests.CanAddLoggingProviders() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetValidILoggerByDefault [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/HostBuilderLoggingTests.cs(17,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderLoggingTests.GetValidILoggerByDefault() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMapping [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperExtensionTests.cs(25,0): at Microsoft.Maui.UnitTests.PropertyMapperExtensionTests.AddAfterMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConfigureFontsRegistersTheCorrectServices [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/HostBuilderFontsTests.cs(19,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderFontsTests.ConfigureFontsRegistersTheCorrectServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: 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/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/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: 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/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/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: 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/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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ConfigureFontsRegistersFonts(filename: "Dokdo-Regular.ttf", alias: "Dokdo") [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/HostBuilderFontsTests.cs(42,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderFontsTests.ConfigureFontsRegistersFonts(String filename, String alias) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) ConfigureFontsRegistersFonts(filename: "Dokdo-Regular.ttf", alias: null) [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/HostBuilderFontsTests.cs(42,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderFontsTests.ConfigureFontsRegistersFonts(String filename, String alias) at InvokeStub_HostBuilderFontsTests.ConfigureFontsRegistersFonts(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ChainingMappersOverrideBase [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperTests.cs(29,0): at Microsoft.Maui.UnitTests.CommandMapperTests.ChainingMappersOverrideBase() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GenericMappersWorks [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperTests.cs(72,0): at Microsoft.Maui.UnitTests.CommandMapperTests.GenericMappersWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) TestDatePickerFormat(dateFormat: "yyyy/MM/dd") [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/DatePicker/DatePicker.cs(63,0): at Microsoft.Maui.Controls.DatePicker..ctor() /_/src/Core/tests/UnitTests/Views/DatePickerTests.cs(17,0): at Microsoft.Maui.UnitTests.Views.DatePickerTests.TestDatePickerFormat(String dateFormat) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) TestDatePickerFormat(dateFormat: "dd/MM/yyyy") [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/DatePicker/DatePicker.cs(63,0): at Microsoft.Maui.Controls.DatePicker..ctor() /_/src/Core/tests/UnitTests/Views/DatePickerTests.cs(17,0): at Microsoft.Maui.UnitTests.Views.DatePickerTests.TestDatePickerFormat(String dateFormat) at InvokeStub_DatePickerTests.TestDatePickerFormat(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) NullAliasForEmbeddedFontDoesNotThrow [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/HostBuilderFontsTests.cs(97,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderFontsTests.NullAliasForEmbeddedFontDoesNotThrow() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) TestDatePickerFormat(dateFormat: "dd/MMM/yy") [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/DatePicker/DatePicker.cs(63,0): at Microsoft.Maui.Controls.DatePicker..ctor() /_/src/Core/tests/UnitTests/Views/DatePickerTests.cs(17,0): at Microsoft.Maui.UnitTests.Views.DatePickerTests.TestDatePickerFormat(String dateFormat) at InvokeStub_DatePickerTests.TestDatePickerFormat(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) TestDatePickerFormat(dateFormat: "dd/MM/yy") [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/DatePicker/DatePicker.cs(63,0): at Microsoft.Maui.Controls.DatePicker..ctor() /_/src/Core/tests/UnitTests/Views/DatePickerTests.cs(17,0): at Microsoft.Maui.UnitTests.Views.DatePickerTests.TestDatePickerFormat(String dateFormat) at InvokeStub_DatePickerTests.TestDatePickerFormat(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: 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/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/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: 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/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/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: 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/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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMapping [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(51,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.AddBeforeMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: 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/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/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: 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/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/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: 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/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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) 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) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: 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/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/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) 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) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: 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/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/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: 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/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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: 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/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/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: 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/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/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: 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/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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) 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) ModifyMapping [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(77,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.ModifyMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMapping [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(25,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.AddAfterMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CreatesServiceProviderByDefault [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/HostBuilderConfigureContainerTests.cs(15,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderConfigureContainerTests.CreatesServiceProviderByDefault() 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) ChainingMappersOverrideBase [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(130,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ChainingMappersOverrideBase() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConstructorChainingMappersOverrideBase [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(196,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ConstructorChainingMappersOverrideBase() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConstructorChainingMappersWorks [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(174,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ConstructorChainingMappersWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ChainingMappersWorks [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(151,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ChainingMappersWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ChainingMappersStillAllowReplacingChainedRoot [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(222,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ChainingMappersStillAllowReplacingChainedRoot() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MapperCanExecuteSkippedMappers [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(101,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.MapperCanExecuteSkippedMappers() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConstrainsViewsVerticallyWhenConstrained [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.HorizontalStackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/HorizontalStackLayoutTests.cs(12,0): at Microsoft.Maui.UnitTests.Layouts.HorizontalStackLayoutTests.ConstrainsViewsVerticallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetsImageSourceTypeForRegisteredService [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(122,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.GetsImageSourceTypeForRegisteredService() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ImageSourceServiceRegistrationViaAddSingletonDirectlyIsNotSupported [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(193,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ImageSourceServiceRegistrationViaAddSingletonDirectlyIsNotSupported() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetsImageSourceServiceTypeForRegisteredService [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(135,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.GetsImageSourceServiceTypeForRegisteredService() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetsImageSourceServiceTypeEvenWhenNoServiceWasRegistered [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(112,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.GetsImageSourceServiceTypeEvenWhenNoServiceWasRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesCustomDerivedImageSourceOverBuiltInInterface [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(152,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesCustomDerivedImageSourceOverBuiltInInterface() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesImageSourceServiceWhenNonPrimaryInterfaceServiceIsRegistered [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(168,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesImageSourceServiceWhenNonPrimaryInterfaceServiceIsRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ThrowsWhenMatchingServicesRelatedThroughInheritance [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(181,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ThrowsWhenMatchingServicesRelatedThroughInheritance() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesToConcreteTypeOverInterface [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(73,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesToConcreteTypeOverInterface() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesImageSourceServiceInTypicalScenarios(registerInterfaces: True, registerClasses: 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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(21,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Boolean registerInterfaces, Boolean registerClasses) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) ResolvesImageSourceServiceInTypicalScenarios(registerInterfaces: False, registerClasses: 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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(21,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Boolean registerInterfaces, Boolean registerClasses) at InvokeStub_ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ResolvesImageSourceServiceInTypicalScenarios(registerInterfaces: True, registerClasses: 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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(21,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Boolean registerInterfaces, Boolean registerClasses) at InvokeStub_ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) GetsImageSourceTypeEvenWhenNoServiceWasRegistered [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(102,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.GetsImageSourceTypeEvenWhenNoServiceWasRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesCorrectServiceInstance(registerInterfaces: 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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(49,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesCorrectServiceInstance(Boolean registerInterfaces) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) ResolvesCorrectServiceInstance(registerInterfaces: 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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(49,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesCorrectServiceInstance(Boolean registerInterfaces) at InvokeStub_ImageSourceServiceTests.ResolvesCorrectServiceInstance(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ResolvesToConcreteTypeOverInterface2 [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/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(86,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesToConcreteTypeOverInterface2() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MapperRetainsInsertionOrder [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(39,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.MapperRetainsInsertionOrder() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GenericMappersWorks [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(244,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.GenericMappersWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MapperExecutesChainedKeysFirst [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/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(72,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.MapperExecutesChainedKeysFirst() 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: 145, Skipped: 3, Time: 2.941s + export _commandExitCode=1 + _commandExitCode=1 + /etc/helix-prep/venv/bin/python3.13 /tmp/helix/working/B33A0948/p/reporter/run.py https://dev.azure.com/dnceng-public/ public 40009858 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IndoMDZzRWt6TEhKNXNOTmFVeVJZMl82TzhLMCIsImtpZCI6IndoMDZzRWt6TEhKNXNOTmFVeVJZMl82TzhLMCJ9.eyJhdWQiOiI0OTliODRhYy0xMzIxLTQyN2YtYWExNy0yNjdjYTY5NzU3OTgiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzgwMzA4Nzk5LCJuYmYiOjE3ODAzMDg3OTksImV4cCI6MTc4MDM5NTQ5OSwiYWlvIjoiQVNRQTIvOGNBQUFBbGhQbU5NckhjcGFUNmVkR2pnL0NpZWxXNkwwWUxUNXFKWXAxcmVhYkxjND0iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWR0eXAiOiJmbWkiLCJyaCI6IjEuQVJvQXY0ajVjdkdHcjBHUnF5MTgwQkhiUjZ5RW0wa2hFMzlDcWhjbWZLYVhWNWdBQUFBYUFBLiIsInN1YiI6Ii9laWQxL2MvcHViL3QvdjRqNWN2R0dyMEdScXkxODBCSGJSdy9hL3JJU2JTU0VUZjBLcUZ5WjhwcGRYbUEvYnMvaC82ZmNjOTJlNS03M2E3LTRmODgtOGQxMy1kOTA0NWI0NWZiMjcvaS9jNzczZjJjMi01MTIwLTQyMDctYWZlMi1hZmFmMzVhOGJjMGEiLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1dGkiOiI3aTRzWTFZOVowLW1SZ1ZMTlRjUkFBIiwidmVyIjoiMS4wIiwieG1zX2F0dHIiOnsicklTYlNTRVRmMEtxRnlaOHBwZFhtQSI6eyJhZG9fZXhwIjoxNzgwMzI0MDk5LCJhZG9fc2NwIjoiUmVhZEFuZFVwZGF0ZUJ1aWxkQnlVcmk6Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5L2RvdG5ldC9tYXVpLzMwMjpCdWlsZC9CdWlsZC8xNDQzNDU5IFJlYWRBbmRQdWJsaXNoVGVzdDpjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDkgTG9jYXRpb25TZXJ2aWNlLkNvbm5lY3QgUGlwZWxpbmVDYWNoZS5SZWFkV3JpdGVSb290QWNjZXNzIiwiYXVpIjoiM2FhY2RhODAtYTIxMC00MmI2LTk3MDktNjlkMzJlYzkzNTYxIiwiQnVpbGRJZCI6ImNiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTsxNDQzNDU5IiwiRGVmSWQiOiIzMDIiLCJqb2JyZWYiOiI1OTY5YzVmZi00NGFmLTRhOWUtYjhkYS05ZTM0ZjYxMGY2OGM6NTkzMTljMDItNjUzNC01ZWFmLTZmMmUtOWVmOGM3YTA1M2U5Iiwib3JjaGlkIjoiNTk2OWM1ZmYtNDRhZi00YTllLWI4ZGEtOWUzNGY2MTBmNjhjLmhlbGl4dGVzdHMudGVzdF9oZWxpeF91bml0X3Rlc3RzX3dpbmRvd3NfZGVidWcuX19kZWZhdWx0IiwicGNjIjoiW3tcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvaGVhZHMvaW5mbGlnaHQvY3VycmVudDtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjF9LHtcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvaGVhZHMvaW5mbGlnaHQvY3VycmVudDtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjF9LHtcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvcHVsbC8zNTQyMS9tZXJnZTtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvaGVhZHMvbWFzdGVyO2RvdG5ldC9tYXVpXCIsXCJQZXJtaXNzaW9uXCI6MX0se1wiU2NvcGVcIjpcIjMwMjtjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDk7cmVmcy9oZWFkcy9tYWluO2RvdG5ldC9tYXVpXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwicHBpZCI6InZzdGZzOi8vL0J1aWxkL0J1aWxkLzE0NDM0NTkifX0sInhtc19pZHJlbCI6IjMzIDQiLCJ4bXNfcmQiOiIwLkFWa0FwdjhLQlFnQ0VnRWFFaFFJQ1JJUW9LWGJjWHluWkV1OHhQWDVpLUpuX2hJVUNBc1NFTHZGZFdYaHdsbFdmcFRmdzVTNHg4QWlKQWdERWlEZ2NRZkF3YXl3ckFXNDVPLTR2ZWh5a1hXS1RwZ2o3ZUkwTlZIVC1fbDYyQSJ9.Wu7EMy5EC5tXxC0Bn-_M5fjej-UP1_Sj1yI0Y9TQOsX7PNpLgItFKtOlA0jgpRzLK-UWDugYetCo_xwRhkRPADXf89u-mOaN88-Wpj8_sLaavenfPdf8pR_u4ckcy1mJj9Rbbpq9p8Ln7DEW4LRFf5tQMldnwKZiTXiuthwcEo-bFXuwHGd2C0CF6So6ip8rbrabBE0OxPNj8beptTaxFYcTyM0RuV5ZHOuCokqF8b-m46wOnGJLT9SedQ4ry0z5rMgR7VP2Rbtf6vUt1cxKowY_liVnRHH44XLwIgrve2Y7TWbOqRc75cAjtcFKCt2TJQi0ELKbiHgK5VAAQywUeQ /etc/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-01T10:37:25.310Z INFO run.py azure_utils(46) get_credential_and_access_token Using /etc/helix-prep/client.pem certificate for e119e735-021e-4931-8059-7221fe1e3d1d 2026-06-01T10:37:25.353Z INFO run.py _universal(535) on_request Request URL: 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.13.8 (macOS-15.7.1-arm64-arm-64bit-Mach-O)' No body was attached to the request 2026-06-01T10:37:25.538Z INFO run.py _universal(581) on_response Response status: 200 Response headers: 'Cache-Control': 'max-age=86400, private' 'Content-Type': 'application/json; charset=utf-8' 'Strict-Transport-Security': 'REDACTED' 'X-Content-Type-Options': 'REDACTED' 'Access-Control-Allow-Origin': 'REDACTED' 'Access-Control-Allow-Methods': 'REDACTED' 'P3P': 'REDACTED' 'x-ms-request-id': '78091ac1-ea1f-4de8-a36b-7910c7062900' 'x-ms-ests-server': 'REDACTED' 'x-ms-srs': 'REDACTED' 'Content-Security-Policy-Report-Only': 'REDACTED' 'X-XSS-Protection': 'REDACTED' 'Set-Cookie': 'REDACTED' 'Date': 'Mon, 01 Jun 2026 10:37:25 GMT' 'Content-Length': '1964' 2026-06-01T10:37:25.617Z INFO run.py _universal(532) on_request Request URL: 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token' Request method: 'POST' Request headers: 'Content-Type': 'application/x-www-form-urlencoded' 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.13.8 (macOS-15.7.1-arm64-arm-64bit-Mach-O)' A body is sent with the request 2026-06-01T10:37:25.748Z INFO run.py _universal(581) on_response Response status: 200 Response headers: 'Cache-Control': 'no-store, no-cache' 'Pragma': 'no-cache' 'Content-Type': 'application/json; charset=utf-8' 'Expires': '-1' 'Strict-Transport-Security': 'REDACTED' 'X-Content-Type-Options': 'REDACTED' 'x-ms-clientdata': 'REDACTED' 'P3P': 'REDACTED' 'client-request-id': 'REDACTED' 'x-ms-request-id': '4a173f90-bfc2-40ab-8d62-87ffda721000' 'x-ms-ests-server': 'REDACTED' 'x-ms-clitelem': 'REDACTED' 'x-ms-srs': 'REDACTED' 'Content-Security-Policy-Report-Only': 'REDACTED' 'X-XSS-Protection': 'REDACTED' 'Set-Cookie': 'REDACTED' 'Date': 'Mon, 01 Jun 2026 10:37:25 GMT' 'Content-Length': '1872' 2026-06-01T10:37:25.748Z INFO run.py get_token_mixin(139) _get_token_base CertificateCredential.get_token succeeded 2026-06-01T10:37:25.748Z INFO run.py azure_utils(64) get_credential_and_access_token Credentials are valid 2026-06-01T10:37:25.749Z INFO run.py get_token_mixin(139) _get_token_base CertificateCredential.get_token_info succeeded 2026-06-01T10:37:25.837Z INFO run.py run(48) main Beginning reading of test results. 2026-06-01T10:37:25.837Z INFO run.py __init__(42) read_results Searching '/private/tmp/helix/working/B33A0948/w/ACA00981/e' for test results files 2026-06-01T10:37:25.837Z INFO run.py __init__(48) read_results Found results file /private/tmp/helix/working/B33A0948/w/ACA00981/e/testResults.xml with format xunit 2026-06-01T10:37:25.853Z INFO run.py __init__(42) read_results Searching '/tmp/helix/working/B33A0948/w/ACA00981/uploads' for test results files 2026-06-01T10:37:25.853Z INFO run.py packing_test_reporter(30) report_results Packing 839 test reports to '/tmp/helix/working/B33A0948/w/ACA00981/e/__test_report.json' 2026-06-01T10:37:25.855Z INFO run.py packing_test_reporter(33) report_results Packed 563698 bytes + exit 1 ['Microsoft.Maui.UnitTests.dll' END OF WORK ITEM LOG: Command exited with 1]