Skip to content

[Android] Fix NRE in ContainerView when Android Context is null during lifecycle transition#34901

Merged
kubaflo merged 3 commits into
inflight/currentfrom
fix/issue-34900-navigation-root-manager-nre
Apr 10, 2026
Merged

[Android] Fix NRE in ContainerView when Android Context is null during lifecycle transition#34901
kubaflo merged 3 commits into
inflight/currentfrom
fix/issue-34900-navigation-root-manager-nre

Fix NRE in ContainerView when Android Context is null

6e67c24
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr (Build .NET MAUI Build Windows (Release)) failed Apr 10, 2026 in 1h 15m 53s

Build .NET MAUI Build Windows (Release) failed

Annotations

Check failure on line 220 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build Windows (Release))

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L220

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(220,86): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'

Check failure on line 233 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build Windows (Release))

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L233

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(233,21): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'

Check failure on line 236 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build Windows (Release))

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L236

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(236,41): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'

Check failure on line 242 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build Windows (Release))

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L242

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(242,44): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'

Check failure on line 220 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build Windows (Release))

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L220

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(220,86): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'