Fix NullReferenceException when EditorField uses implicit Style with FontFamily #935
+54
−3
Azure Pipelines / enisn.UraniumUI
failed
Jan 20, 2026 in 21m 2s
Build #20260120.2 had test failures
Details
- Failed: 1 (1.16%)
- Passed: 85 (98.84%)
- Other: 0 (0.00%)
- Total: 86
Annotations
Check failure on line 1173 in Build log
azure-pipelines / enisn.UraniumUI
Build log #L1173
Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1
Check failure on line 1179 in Build log
azure-pipelines / enisn.UraniumUI
Build log #L1179
Dotnet command failed with non-zero exit code on the following projects : [ '' ]
azure-pipelines / enisn.UraniumUI
UraniumUI.Material.Tests.Controls.EditorField_Test.FontFamily_CanBeSetViaImplicitStyle
Shouldly.ShouldAssertException : `createControl()`
should not throw but threw
System.InvalidOperationException
with message
"BindableObject was not instantiated on a thread with a dispatcher nor does the current application have a dispatcher."
Raw output
at UraniumUI.Material.Tests.Controls.EditorField_Test.FontFamily_CanBeSetViaImplicitStyle() in D:\a\1\s\test\UraniumUI.Material.Tests\Controls\EditorField_Test.cs:line 87
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Loading