Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application is highly unstable on Mac OS #17

Open
Adam-Langley opened this issue Feb 14, 2020 · 1 comment
Open

Application is highly unstable on Mac OS #17

Adam-Langley opened this issue Feb 14, 2020 · 1 comment

Comments

@Adam-Langley
Copy link

I get null references when clicking around in the app - then sometimes it wont launch and just crashes on startup with Null references.

System.NullReferenceException: Object reference not set to an instance of an object
at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.UpdateTitle () [0x00125] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.UpdateToolBar () [0x0011b] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.set_Navigation (Xamarin.Forms.NavigationPage value) [0x0008d] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.NavigationPageRenderer.Init () [0x00025] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.NavigationPageRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0000e] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001b] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.MasterDetailPageRenderer.UpdateControllers () [0x00066] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.MasterDetailPageRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0000e] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001b] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.Platform.AddChild (Xamarin.Forms.VisualElement view) [0x00027] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.Platform.WillAppear () [0x0001c] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.PlatformRenderer.ViewWillAppear () [0x00006] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at (wrapper managed-to-native) ObjCRuntime.Messaging.void_objc_msgSend_IntPtr(intptr,intptr,intptr)
at AppKit.NSWindow.set_ContentViewController (AppKit.NSViewController value) [0x00025] in /Library/Frameworks/Xamarin.Mac.framework/Versions/6.10.0.17/src/Xamarin.Mac/NSWindow.g.cs:8926
at Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate.UpdateMainPage () [0x00034] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate.SetMainPage () [0x00000] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate.DidFinishLaunching (Foundation.NSNotification notification) [0x00041] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at ExpenseAnalysis.MacOS.AppDelegate.DidFinishLaunching (Foundation.NSNotification notification) [0x00025] in /Users/adam.langley/Documents/GitHub/Xamarin-ExpenseAnalysis/ExpenseAnalysis/ExpenseAnalysis.macOS/AppDelegate.cs:45
at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[])
at AppKit.NSApplication.Main (System.String[] args) [0x00040] in /Library/Frameworks/Xamarin.Mac.framework/Versions/6.10.0.17/src/Xamarin.Mac/AppKit/NSApplication.cs:100
at ExpenseAnalysis.MacOS.MainClass.Main (System.String[] args) [0x00017] in /Users/adam.langley/Documents/GitHub/Xamarin-ExpenseAnalysis/ExpenseAnalysis/ExpenseAnalysis.macOS/Main.cs:13
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.UpdateTitle () [0x00125] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.UpdateToolBar () [0x0011b] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.set_Navigation (Xamarin.Forms.NavigationPage value) [0x0008d] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.NavigationPageRenderer.Init () [0x00025] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.NavigationPageRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0000e] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001b] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.MasterDetailPageRenderer.UpdateControllers () [0x00066] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.MasterDetailPageRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0000e] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001b] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.Platform.AddChild (Xamarin.Forms.VisualElement view) [0x00027] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.Platform.WillAppear () [0x0001c] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.PlatformRenderer.ViewWillAppear () [0x00006] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at (wrapper managed-to-native) ObjCRuntime.Messaging.void_objc_msgSend_IntPtr(intptr,intptr,intptr)
at AppKit.NSWindow.set_ContentViewController (AppKit.NSViewController value) [0x00025] in /Library/Frameworks/Xamarin.Mac.framework/Versions/6.10.0.17/src/Xamarin.Mac/NSWindow.g.cs:8926
at Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate.UpdateMainPage () [0x00034] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate.SetMainPage () [0x00000] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate.DidFinishLaunching (Foundation.NSNotification notification) [0x00041] in <2d9ebed16df2477bbf17b5b8974ffe3d>:0
at ExpenseAnalysis.MacOS.AppDelegate.DidFinishLaunching (Foundation.NSNotification notification) [0x00025] in /Users/adam.langley/Documents/GitHub/Xamarin-ExpenseAnalysis/ExpenseAnalysis/ExpenseAnalysis.macOS/AppDelegate.cs:45
at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[])
at AppKit.NSApplication.Main (System.String[] args) [0x00040] in /Library/Frameworks/Xamarin.Mac.framework/Versions/6.10.0.17/src/Xamarin.Mac/AppKit/NSApplication.cs:100
at ExpenseAnalysis.MacOS.MainClass.Main (System.String[] args) [0x00017] in /Users/adam.langley/Documents/GitHub/Xamarin-ExpenseAnalysis/ExpenseAnalysis/ExpenseAnalysis.macOS/Main.cs:13

@RathanakumarSekar
Copy link
Contributor

Hi Adam-Langley,

Thank you for contacting us.

We have resolved the reported issue "Application is highly unstable on Mac OS" and merged the changes to the master branch.

Please let us know if you have any other concerns.

Thanks,
Rathanakumar S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants