2018-10-01 16:14:04.254 TopTab2.iOS[12667:155266]
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at Naxam.Controls.Platform.iOS.TopTabbedRenderer.UpdateToolbarItems (System.Int32 selectedIndex) [0x00029] in <28e49720a6204d1cb64ee7fbc65c2111>:0
at Naxam.Controls.Platform.iOS.TopTabbedRenderer.MoveToByIndex (System.Int32 selectedIndex, System.Boolean forced) [0x0004d] in <28e49720a6204d1cb64ee7fbc65c2111>:0
at Naxam.Controls.Platform.iOS.TopTabbedRenderer.HandleTabsSelectionChanged (System.Object sender, Naxam.Controls.Platform.iOS.TabsSelectionChangedEventArgs e) [0x0000c] in <28e49720a6204d1cb64ee7fbc65c2111>:0
at Naxam.Controls.Platform.iOS.TabsView.DidChangeSelectedIndex (MaterialControls.MDTabBar tabBar, System.nuint selectedIndex) [0x00012] in <28e49720a6204d1cb64ee7fbc65c2111>:0
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System
.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/UIKit/UIApplication.cs:63
at TopTab2.iOS.Application.Main (System.String[] args) [0x00001] in C:\Users\Ahmed\Documents\Visual Studio 2017\Projects\TopTab2\TopTab2.iOS\Main.cs:17
2018-10-01 16:14:04.256 TopTab2.iOS[12667:155266] Unhandled managed exception:
Object reference not set to an instance of an object (System.NullReferenceException)
at Naxam.Controls.Platform.iOS.TopTabbedRenderer.UpdateToolbarItems (System.Int32 selectedIndex) [0x00029] in <28e49720a6204d1cb64ee7fbc65c2111>:0
at Naxam.Controls.Platform.iOS.TopTabbedRenderer.MoveToByIndex (System.Int32 selectedIndex, System.Boolean forced) [0x0004d] in <28e49720a6204d1cb64ee7fbc65c2111>:0
at Naxam.Controls.Platform.iOS.TopTabbedRenderer.HandleTabsSelectionChanged (System.Object sender, Naxam.Controls.Platform.iOS.TabsSelectionChangedEventArgs e) [0x0000c] in <28e49720a6204d1cb64ee7fbc65c2111>:0
at Naxam.Controls.Platform.iOS.TabsView.DidChangeSelectedIndex (MaterialControls.MDTabBar tabBar, System.nuint selectedIndex) [0x00012] in <28e49720a6204d1cb64ee7fbc65c2111>:0
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args
, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/UIKit/UIApplication.cs:63
at TopTab2.iOS.Application.Main (System.String[] args) [0x00001] in C:\Users\Ahmed\Documents\Visual Studio 2017\Projects\TopTab2\TopTab2.iOS\Main.cs:17
2018-10-01 16:14:04.256 TopTab2.iOS[12667:155266] critical: Stacktrace:
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
using xamarin forms 3.2.0.839982 with prism 7.0.0.396 & debug using IOS emulator 11.2
on selecting any tab a System.NullReferenceException is thrown
In app.cs
await NavigationService.NavigateAsync(new System.Uri("/MainPage?SelectedTab=Page1",System.UriKind.Absolute));
Main Page
the stack trace