Skip to content

Fix Android crash when changing shared Drawable tint on Searchbar

a1546bf
Select commit
Loading
Failed to load commit list.
Merged

Fix Android crash when changing shared Drawable tint on Searchbar #33071

Fix Android crash when changing shared Drawable tint on Searchbar
a1546bf
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Dec 19, 2025 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

maui-pr-devicetests / net10.0 iOS Helix Tests / Run DeviceTests iOS / DeviceTestsIOS (Unix)

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌Bash exited with code '1'.

maui-pr-devicetests / net10.0 windows / Run windows Core packaged packaged (Mono) / Execute Test Run

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌Cmd.exe exited with code '1'.

maui-pr-uitests / Android UITests / Controls (API 30) / Controls (API 30) Layout / Controls (API 30) Layout

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌PowerShell exited with code '1'.

21 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [maui-pr-devicetests] [maui-pr-uitests]

Known test errors

Test Failures (49 tests failed)

🔹 [All failing tests from maui-pr-uitests]

    ⚠️ 44 failing tests not displayed for this pipeline due to space limitations

    Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests(Android).LightTheme_VerifyVisualState [Details] [0.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    VisualTestUtils.VisualTestFailedException : 
    Snapshot different than baseline: LightTheme_VerifyVisualState.png (0.81% difference)
    If the correct baseline has changed (this isn't a a bug), then update the baseline image.
    See test attachment or download the build artifacts to get the new snapshot file.
    

    More info: https://aka.ms/visual-test-workflow

    CallStack
       at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
       at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
       at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|9_0(String name, <>c__DisplayClass9_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 367
       at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 209
       at Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests.LightTheme_VerifyVisualState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/AppThemeFeatureTests.cs:line 35
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    
    Microsoft.Maui.TestCases.Tests.FlyoutPageFeatureTests(Windows).VerifyFlyoutPage_IsFlowDirectionRTL [Details] [0.09% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    VisualTestUtils.VisualTestFailedException : 
    Snapshot different than baseline: VerifyFlyoutPage_IsFlowDirectionRTL.png (0.84% difference)
    If the correct baseline has changed (this isn't a a bug), then update the baseline image.
    See test attachment or download the build artifacts to get the new snapshot file.
    

    More info: https://aka.ms/visual-test-workflow

    CallStack
       at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
       at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
       at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|9_0(String name, <>c__DisplayClass9_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 367
       at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance, Boolean includeTitleBar) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 209
       at Microsoft.Maui.TestCases.Tests.FlyoutPageFeatureTests.VerifyFlyoutPage_IsFlowDirectionRTL() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/FlyoutPageFeatureTests.cs:line 205
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    
    Microsoft.Maui.TestCases.Tests.Issues.Issue18420(Android).ApplyingRotationWithZeroDurationShouldNotCrash [Details] [5.48% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    System.NullReferenceException : Object reference not set to an instance of an object.
    CallStack
       at UITest.Appium.HelperExtensions.Click(IUIElement element) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 362
       at UITest.Appium.HelperExtensions.Tap(IApp app, String element) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 26
       at Microsoft.Maui.TestCases.Tests.Issues.Issue18420.ApplyingRotationWithZeroDurationShouldNotCrash() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue18420.cs:line 19
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    
    Microsoft.Maui.TestCases.Tests.Issues.Issue18961(Android).ModalPageMarginCorrectAfterKeyboardOpens [Details] [38.46% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    VisualTestUtils.VisualTestFailedException : 
    Snapshot different than baseline: ModalPageMarginCorrectAfterKeyboardOpens.png (1.34% difference)
    If the correct baseline has changed (this isn't a a bug), then update the baseline image.
    See test attachment or download the build artifacts to get the new snapshot file.
    

    More info: https://aka.ms/visual-test-workflow

    CallStack
       at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
       at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
       at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|9_0(String name, <>c__DisplayClass9_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 367
       at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 209
       at Microsoft.Maui.TestCases.Tests.Issues.Issue18961.ModalPageMarginCorrectAfterKeyboardOpens() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue18961.cs:line 40
       at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
       at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
       at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
       at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
       at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    Microsoft.Maui.TestCases.Tests.Issues.Issue19500(iOS).TextInEditorShouldScroll [Details] [4.49% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    VisualTestUtils.VisualTestFailedException : 
    Snapshot different than baseline: TextInEditorShouldScroll.png (0.65% difference)
    If the correct baseline has changed (this isn't a a bug), then update the baseline image.
    See test attachment or download the build artifacts to get the new snapshot file.
    

    More info: https://aka.ms/visual-test-workflow

    CallStack
       at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
       at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
       at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|9_0(String name, <>c__DisplayClass9_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 367
       at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 209
       at Microsoft.Maui.TestCases.Tests.Issues.Issue19500.TextInEditorShouldScroll() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19500.cs:line 29
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    

Was this helpful? Yes No