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

SourceTree failes to start (NullReferenceException in stack trace)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • High
    • None
    • 2.3.1.0
    • None
    • Windows 10, Version 1703, x64, Russian

    • Severity 2 - Major

    Description

      Symptoms: when I start SourceTree nothing happens. Process sourcetree.exe is created and closed in 2 seconds.

      StackTrace in log:

      ERROR [2017-09-14 12:42:05,554] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
      ERROR [2017-09-14 12:42:05,761] [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

        1. sourcetree.log
          2 kB
        2. sourcetree.png
          sourcetree.png
          10 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              47868b3d11ed Sergey Kozyr
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: