Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-8083

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.3.5.0
    • 2.3.1.0
    • None
    • None
    • Windows 10 64 bit, worked before with older versions.

    • Severity 1 - Critical

    Description

      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)
      
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: