Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

macOS client crashes when opening workbook from recent files menu #158

Closed
abock opened this issue Dec 22, 2017 · 2 comments
Closed

macOS client crashes when opening workbook from recent files menu #158

abock opened this issue Dec 22, 2017 · 2 comments

Comments

@abock
Copy link
Contributor

abock commented Dec 22, 2017

1.4.0-beta1 and 1.4.0-rc1 crashing when going to Xamarin WorkbooksFileOpen Recent or via the dock menu.

Xamarin Workbooks
Copyright 2016-2017 Microsoft. All rights reserved.
Copyright 2014-2016 Xamarin Inc. All rights reserved.
├─ Version: 1.4.0-beta1+109
├─ Date: 12/22/2017 3:36:18 PM
├─ Hash: 3b0fb936be9e00f2da40fc9da5309c482dfce048
├─ Branch: master
└─ Lane: Workbooks & Inspector (Mac)

[Info][00:00:00.1226140] Telemetry (.ctor): Telemetry Session ID: dc4b9f6d-95e6-436d-a03a-b754be16a5e6 @ /Users/builder/vsts/_work/11/s/Clients/Xamarin.Interactive.Client/Telemetry/Client.cs:59
[Info][00:00:00.3682170] UpdaterService (CheckForUpdatesInBackground): checking for updates @ /Users/builder/vsts/_work/11/s/Clients/Xamarin.Interactive.Client/Client/Updater/UpdaterService.cs:257
[Info][00:00:00.8376900] UpdaterService (CheckForUpdatesInBackground): update available: https://dl.xamarin.com/interactive/XamarinInteractive-1.4.0-beta1.pkg @ /Users/builder/vsts/_work/11/s/Clients/Xamarin.Interactive.Client/Client/Updater/UpdaterService.cs:271
[Critical][00:00:12.9595770] ClientApp:AppDomain.UnhandledException (ConfigureLogging): exception: System.Exception: Could not initialize an instance of the type 'Foundation.NSUrl': the native 'initWithString:' method returned nil.
It is possible to ignore this condition by setting MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false.
  at Foundation.NSObject.InitializeHandle (System.IntPtr handle, System.String initSelector) [0x000ad] in <87136c6c6f2e41eea18d0a86c05d1f2e>:0
  at Foundation.NSUrl..ctor (System.String urlString) [0x00042] in <87136c6c6f2e41eea18d0a86c05d1f2e>:0
  at Xamarin.Interactive.Client.Mac.AppDelegate.OpenFile (AppKit.NSApplication sender, System.String filename) [0x00005] in <2c159cff54f347b694a007fc3c243c40>:0
  at (wrapper managed-to-native) AppKit.NSApplication:NSApplicationMain (int,string[])
  at AppKit.NSApplication.Main (System.String[] args) [0x0003d] in <87136c6c6f2e41eea18d0a86c05d1f2e>:0
  at Xamarin.Interactive.Client.Mac.Entry.Main (System.String[] args) [0x0003d] in <2c159cff54f347b694a007fc3c243c40>:0  @ /Users/builder/vsts/_work/11/s/Clients/Xamarin.Interactive.Client/ClientApp.cs:196
[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Could not initialize an instance of the type 'Foundation.NSUrl': the native 'initWithString:' method returned nil.
It is possible to ignore this condition by setting MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false.
  at Foundation.NSObject.InitializeHandle (System.IntPtr handle, System.String initSelector) [0x000ad] in <87136c6c6f2e41eea18d0a86c05d1f2e>:0
  at Foundation.NSUrl..ctor (System.String urlString) [0x00042] in <87136c6c6f2e41eea18d0a86c05d1f2e>:0
  at Xamarin.Interactive.Client.Mac.AppDelegate.OpenFile (AppKit.NSApplication sender, System.String filename) [0x00005] in <2c159cff54f347b694a007fc3c243c40>:0
  at (wrapper managed-to-native) AppKit.NSApplication:NSApplicationMain (int,string[])
  at AppKit.NSApplication.Main (System.String[] args) [0x0003d] in <87136c6c6f2e41eea18d0a86c05d1f2e>:0
  at Xamarin.Interactive.Client.Mac.Entry.Main (System.String[] args) [0x0003d] in <2c159cff54f347b694a007fc3c243c40>:0
@sandyarmstrong
Copy link
Member

I saw this on both 10.12.6 and 10.13.1.

@sandyarmstrong
Copy link
Member

and 10.13.2.

@bojanrajkovic bojanrajkovic self-assigned this Jan 12, 2018
@abock abock closed this as completed in 4aadb78 Jan 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants