Unhandled Exception
Hello, I use Xamarin.Forms with a MasterDetailPage. I place the VideoView on a ContentPage and navigate to the page via PushAsync. Then when I hit the back button the app crashes with the following stack trace...
System.NullReferenceException: Object reference not set to an instance of an object.
11-05 23:39:18.444 I/MonoDroid( 5484): at LibVLCSharp.Platforms.Android.VideoView.Detach () [0x00000] in <1c37741b205d4dfc8a66f630270b687c>:0
11-05 23:39:18.444 I/MonoDroid( 5484): at LibVLCSharp.Platforms.Android.VideoView.Dispose (System.Boolean disposing) [0x00007] in <1c37741b205d4dfc8a66f630270b687c>:0
11-05 23:39:18.444 I/MonoDroid( 5484): at Java.Lang.Object.Dispose () [0x00000] in <4d996bab56b14864b2a1299fea73b3fe>:0
11-05 23:39:18.444 I/MonoDroid( 5484): at LibVLCSharp.Forms.Platforms.Android.VideoViewRenderer.Dispose (System.Boolean disposing) [0x00007] in <c7b771799f6248029f9cd408af3d81e9>:0
11-05 23:39:18.445 I/MonoDroid( 5484): at Java.Lang.Object.Dispose () [0x00000] in <4d996bab56b14864b2a1299fea73b3fe>:0
11-05 23:39:18.445 I/MonoDroid( 5484): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing) [0x0007b] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:272
11-05 23:39:18.445 I/MonoDroid( 5484): at Xamarin.Forms.Platform.Android.Platform+DefaultRenderer.Dispose (System.Boolean disposing) [0x0000a] in D:\a\1\s\Xamarin.Forms.Platform.Android\Platform.cs:1250
11-05 23:39:18.445 I/MonoDroid( 5484): at Java.Lang.Object.Dispose () [0x00000] in <4d996bab56b14864b2a1299fea73b3fe>:0
11-05 23:39:18.445 I/MonoDroid( 5484): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing) [0x0007b] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:272
11-05 23:39:18.445 I/MonoDroid( 5484): at Xamarin.Forms.Platform.Android.PageRenderer.Dispose (System.Boolean disposing) [0x00011] in D:\a\1\s\Xamarin.Forms.Platform.Android\Renderers\PageRenderer.cs:33
11-05 23:39:18.445 I/MonoDroid( 5484): at Java.Lang.Object.Dispose () [0x00000] in <4d996bab56b14864b2a1299fea73b3fe>:0
11-05 23:39:18.445 I/MonoDroid( 5484): at Xamarin.Forms.Platform.Android.NavigationRenderer+<>c__DisplayClass25_0.<SwitchContentAsync>b__0 (Android.Animation.Animator a) [0x00081] in D:\a\1\s\Xamarin.Forms.Platform.Android\Renderers\NavigationRenderer.cs:262
11-05 23:39:18.445 I/MonoDroid( 5484): at Xamarin.Forms.Platform.Android.NavigationRenderer+<>c__DisplayClass25_1.<SwitchContentAsync>b__1 (Android.Animation.Animator a) [0x00006] in D:\a\1\s\Xamarin.Forms.Platform.Android\Renderers\NavigationRenderer.cs:271
11-05 23:39:18.445 I/MonoDroid( 5484): at Xamarin.Forms.Platform.Android.GenericAnimatorListener.OnAnimationEnd (Android.Animation.Animator animation) [0x00008] in D:\a\1\s\Xamarin.Forms.Platform.Android\Renderers\GenericAnimatorListener.cs:24
11-05 23:39:18.445 I/MonoDroid( 5484): at Android.Animation.AnimatorListenerAdapter.n_OnAnimationEnd_Landroid_animation_Animator_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_animation) [0x00011] in <4d996bab56b14864b2a1299fea73b3fe>:0
11-05 23:39:18.445 I/MonoDroid( 5484): at (wrapper dynamic-method) System.Object.61(intptr,intptr,intptr)