When I am trying to move from one page to another page, the app is getting crashed with the below error.
NavigationPageRenderer.UpdateToolbar () - System.NullReferenceException: Object reference not set to an instance of an object.
Xamarin Forms Version: 4.7.0.1080
PS: Sometime App not crashing but BackButton Icon & Header Label not showing.
AppCenter Stack Trace:
Android: 9
Android Build: PKQ1.180917.001
Manufacturer: Xiaomi
Model: Redmi 6 Pro
Xamarin Exception Stack:
System.NullReferenceException: Object reference not set to an instance of an object
at Xamarin.Forms.Platform.Android.AppCompat.NavigationPageRenderer.UpdateToolbar () [0x0007d] in <5cfeb6476b5641c5b43daf7d3f36a1c8>:0
at Xamarin.Forms.Platform.Android.AppCompat.NavigationPageRenderer+<>c__DisplayClass97_0.b__0 () [0x0002b] in <5cfeb6476b5641c5b43daf7d3f36a1c8>:0
at Xamarin.Forms.Forms+AndroidPlatformServices+<>c__DisplayClass24_0.b__0 () [0x00000] in <5cfeb6476b5641c5b43daf7d3f36a1c8>:0
at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in :0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in :0
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.28(intptr,intptr)