-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.net 9 maui Shell.Current.GotoAsync("..") app crash with debugger is attached exception on windows when back from a page that implements map control #26289
Comments
Link to public reproduction project repository: I'm getting this exception:
Is this your exception as well? |
It's probably better for you to ask in the Community Toolkit Maui project for help: |
Visual studio doesn't generate any log report for the exception. just crash with debugger is attached |
When your Debugger stops at |
Thanks for your help: Yes the error is the same as you get: PlatformView cannot be null here at Microsoft.Maui.Handlers.ViewHandler |
I created an issue in the community toolkit as it related to it. |
Thanks for creating this issue. Since there is an issue created in the Maui Community Toolkit above, I will close this one here. If this is not resolved with the Maui Community Toolkit, feel free to reopen this issue or create a new one and link this issue there. |
Description
After upgrading to .net 9
and CommunityToolkit.Maui.Maps nuget to 2.0.4
when navigating back from a page that implements a map control
this happens on windows only
#if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
UnhandledException += (sender, e) =>
{
if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
};
#endif
Steps to Reproduce
setup the CommunityToolkit.Maui.Maps nuget version: 2.0.4
Create a page.
add map control,
run on Windows machine
try navigating to this page then navigate back.
Link to public reproduction project repository
No response
Version with bug
9.0.10 SR1
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
8.0.91 SR9.1
Affected platforms
Windows
Affected platform versions
Windows 11
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: