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

Crash on Launch (initial install error, then cleared)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 1.6.25
    • None
    • Windows 7. Just downloaded 1.6.25 from sourcetreeapps.com

    • Severity 1 - Critical

      Just installed this for the first time. I'm getting a crash on launch. It doesn't run, and then crash, it simply goes to the windows crash screen right after clicking.

      I tried repairing with the installer and no change. I tried various compatibility modes, running as administrator, etc with no change. I uninstalled, restarted the PC, downloaded a fresh copy and reinstalled. I initially got the error shown in bug tracker code SRCTREEWIN-3964, but attempting another install seemed to work without errors. I'm still getting the same crash on launch problem though. The log which is written to in the %localappdata%\AppData\Local\Atlassian\SourceTree\sourcetree.log file is below. There are multiple entries from multiple attempts to run the program.

      ERROR [2015-12-04 21:38:29,752] [1] [SourceTree.AppRoot] [HandleCrash] - Fatal error
      System.TypeInitializationException: The type initializer for 'System.Windows.Automation.Peers.AutomationPeer' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Automation.InvokePatternIdentifiers' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
         at MS.Internal.Automation.UiaCoreTypesApi.RawUiaLookupId(AutomationIdType type, Guid& guid)
         at System.Windows.Automation.AutomationIdentifier.Register(AutomationIdType type, Guid guid, String programmaticName)
         at System.Windows.Automation.InvokePatternIdentifiers..cctor()
         --- End of inner exception stack trace ---
         at System.Windows.Automation.Peers.AutomationPeer.Initialize()
         at System.Windows.Automation.Peers.AutomationPeer..cctor()
         --- End of inner exception stack trace ---
         at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)
         at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)
         at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
         at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
         at System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr hwnd)
         at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
         at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
         at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
      ERROR [2015-12-04 21:54:41,760] [1] [SourceTree.AppRoot] [HandleCrash] - Fatal error
      System.TypeInitializationException: The type initializer for 'System.Windows.Automation.Peers.AutomationPeer' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Automation.InvokePatternIdentifiers' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
         at MS.Internal.Automation.UiaCoreTypesApi.RawUiaLookupId(AutomationIdType type, Guid& guid)
         at System.Windows.Automation.AutomationIdentifier.Register(AutomationIdType type, Guid guid, String programmaticName)
         at System.Windows.Automation.InvokePatternIdentifiers..cctor()
         --- End of inner exception stack trace ---
         at System.Windows.Automation.Peers.AutomationPeer.Initialize()
         at System.Windows.Automation.Peers.AutomationPeer..cctor()
         --- End of inner exception stack trace ---
         at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)
         at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)
         at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
         at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
         at System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr hwnd)
         at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
         at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
         at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
      

      This is the only git gui I can use on my work computer due to firewall restrictions so I'm trying to get it installed at home as well. Let me know if you need any more information. I'm going off to try and find an older version to install.

        1. screenshot000250.jpg
          35 kB
          josh1758336449

              Unassigned Unassigned
              josh1758336449 josh1758336449
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: