SourceTree crashes at startup: System.NullReferenceException: Object reference not set to an instance of an object.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 2.3.5.0
    • Affects Version/s: 2.3.1.0
    • Component/s: None
    • None
    • Environment:

      Windows 10 64 bit, worked before with older versions.

    • Severity 1 - Critical

      When starting after installation of update, it just does not appear. Log file entry:

      ERROR [2017-10-23 09:42:54,352] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
      ERROR [2017-10-23 09:42:54,716] [1] [SourceTree.App] [OnStartup] - Failed to start
      System.NullReferenceException: Object reference not set to an instance of an object.
         at SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
         at SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
         at SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](String title, String message, Tuple`2 customAction, String cancelLabel, String suppressionSetting, Action`1 suppressionChangedAction, Object contentControl, String contentCommandLabel, Action contentAction)
         at SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
         at SourceTree.Configuration.WpfSpellCheckerPreFlightCheck.Run()
         at SourceTree.AppRoot.RunPreFlightChecks()
         at SourceTree.AppRoot.OnStartup(StartupEventArgs e)
         at SourceTree.App.OnStartup(StartupEventArgs e)
      
      

            Assignee:
            Unassigned
            Reporter:
            Richard Bössen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: