getsentry / getsentry/sentry-dotnet
(MAUI) It's hard to know if an event made an app crash
- Dominant language
- C#
- Stars
- 770
- Forks
- 248
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 49
Description
https://sentry.lkp.app.br/share/issue/6a79ea41e23348e9ad9680c4887ca800/
```
System.InvalidOperationException: PlatformView cannot be null here
?, in UIImageView ViewHandler.get_PlatformView()
?, in UIImageView ImageHandler.Microsoft.Maui.Handlers.IImageHandler.get_PlatformView()
?, in void ImageImageSourcePartSetter.SetImageSource(UIImage platformImage)
?, in async Task> ImageSourcePartExtensions.UpdateSourceAsync(IImageSourcePart image, UIView destinationContext, IImageSourceServiceProvider services, Action setImage, float imageScale, CancellationToken cancellationToken)
?, in async Task ImageSourcePartLoader.UpdateImageSourceAsync()
?, in async Task ImageHandler.MapSourceAsync(IImageHandler handler, IImage image)
?, in async void TaskExtensions.FireAndForget(Task task, Action errorCallback)
```
This issue is marked as unhandled, but the trace shows user used the app after the unhandled exception (all those stacktraces came from the Maui Assembly)
With that said, it's hard to know when an app actually crashed due to an event, that is helpful information to prioritize issues.
Contributor guide
Assessment
This issue has not been assessed yet.