Skip to content

MAUI IOS System.NullReferenceException: Arg_NullReferenceException #30563

Open
@praveen-ecolab

Description

@praveen-ecolab

Description

We are experiencing random crashes on iOS devices when navigating between pages using MAUI Shell.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.81 SR8.1

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

No response

Affected platforms

iOS

Affected platform versions

iPadOS 17.7.8

Did you find any workaround?

No response

Relevant log output

Application Specific Information:
*** Terminating app due to uncaught exception 'SIGABRT', reason: 'Arg_NullReferenceException'

Xamarin Exception Stack:
System.NullReferenceException: Arg_NullReferenceException
  at Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRenderer.ElementForViewController(UIViewController viewController)
  at Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRenderer.NavDelegate.WillShowViewController(UINavigationController navigationController, UIViewController viewController, Boolean animated)
  at Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRenderer.NavDelegate.__Registrar_Callbacks__.callback_529_Microsoft_Maui_Controls_Platform_Compatibility_ShellSectionRenderer_NavDelegate_WillShowViewController(IntPtr pobj, IntPtr sel, IntPtr p0, IntPtr p1, Byte p2, IntPtr* exception_gchandle)
  at UIKit.UIApplication.UIApplicationMain(Int32 , String[] , IntPtr , IntPtr )
  at UIKit.UIApplication.Main(String[] , Type , Type )
  at EcolabEveryDay.Program.Main(String[] args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    s/needs-reproAttach a solution or code which reproduces the issuet/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions