devsmadeofsteel/Plugin.HybridWebView

NullReferenceException in HybridWebViewNavigationDelegate.DidFinishNavigation

Opened this issue · 1 comments

I've experienced a NRE in HybridWebViewNavigationDelegate.DidFinishNavigation on an iPhone 8 (iOS 14.2) recently. Unfortunately it gives not much more information than the stack trace below. Any help or hint is highly welcome.

HybridWebViewNavigationDelegate.DidFinishNavigation (WebKit.WKWebView webView, WebKit.WKNavigation navigation)
AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state)
NSAsyncSynchronizationContextDispatcher.Apply ()
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate)
UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName)
Application.Main (System.String[] args)

I have the same null exception in our android phone as well...

System.NullReferenceException: Object reference not set to an instance of an object
HybridWebViewClient.OnPageFinished (Android.Webkit.WebView view, System.String url)
AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state)
SyncContext+<>c__DisplayClass2_0.<Post>b__0 ()
Thread+RunnableImplementor.Run ()
IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this)
JNINativeWrapper.Wrap_JniMarshal_PP_V (_JniMarshal_PP_V callback, System.IntPtr jnienv, System.IntPtr klazz)