redth-org / BTProgressHUD

Port to Xamarin.iOS of the SVProgressHUD
Other
118 stars 64 forks source link

Object reference not set to an instance of an object #94

Closed xamarin-plaroche closed 2 years ago

xamarin-plaroche commented 2 years ago

πŸ› Bug Report

at BigTed.ProgressHUD.PositionHUD (Foundation.NSNotification notification) [0x000cf] in //BTProgressHUD/ProgressHUD.cs:872 at BigTed.ProgressHUD.ShowProgressWorker (System.Single progress, System.String status, BigTed.MaskType maskType, System.Boolean textOnly, BigTed.ToastPosition toastPosition, System.String cancelCaption, System.Action cancelCallback, System.Double timeoutMs, System.Boolean showContinuousProgress, UIKit.UIImage displayContinuousImage) [0x001ea] in //BTProgressHUD/ProgressHUD.cs:388 at BigTed.ProgressHUD+<>c__DisplayClass97_0.b_0 () [0x00000] in //BTProgressHUD/ProgressHUD.cs:185 at Foundation.NSActionDispatcher.Apply () [0x00000] in /Users/builder/azdo/_work/2/s/xamarin-macios/src/Foundation/NSAction.cs:62 at (wrapper managed-to-native) ObjCRuntime.Messaging.void_objc_msgSend_IntPtr_IntPtr_bool(intptr,intptr,intptr,intptr,bool) at Foundation.NSObject.InvokeOnMainThread (System.Action action) [0x00007] in /Users/builder/azdo/work/2/s/xamarin-macios/src/Foundation/NSObject2.cs:728 at BigTed.ProgressHUD.Show (System.String status, System.Single progress, BigTed.MaskType maskType, System.Double timeoutMs) [0x0002a] in //BTProgressHUD/ProgressHUD.cs:185 at BigTed.BTProgressHUD.Show (System.String status, System.Single progress, BigTed.MaskType maskType) [0x00000] in /_/BTProgressHUD/BTProgressHUD.cs:10

❓ Expected behavior

πŸͺœ Reproduction steps

πŸ›  Configuration

πŸ“¦ Package Version: 1.3.5

πŸ“± iOS Version: 15.3.1

xamarin-plaroche commented 2 years ago

You can delete the issue, i just tried to display the ProgressHUD when no windows is created.