SourceTree version 1.8
Asked by Erik Lindstr?m:

Hi

Since I upgraded from sourcetree 1.7 to 1.8 it keeps crasching from time to time. Running windows 7 against a local stash repository.

Something more people has experienced?

Erik


Answers:
author: Alex Pica
body: I work on a fairly big project, with thousands of files. After the upgrade to 1.8, SourceTree has become unusable.... crashes on any operation... so yes, i am experiencing right now :smile:

comments: author: Marcus Martin
body: I just upgraded to SourceTree 1.8.1. I am also crashing very often, near constantly. On windows 10 OS with latest patches.

Additionally, when I need to merge a file, the option to launch any merge option is often not available. Editing the file will enable the UI to detect I need to merge the file.

After a merge completes in an external merge tool, 100% chance SourceTree will crash.


author: -
body: How can I download to 1.7????

The program's constant switching of tabs away from Log/History -- where I do all my work -- to File Status makes it unusable.

ETA: never mind, I found

<https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.6.25.0.exe>

and

<https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.7.0.32509.exe>

comments: author: Marcus Martin
body: Rollback works for me.


author: Tim Ryan
body: Downgrading to 1.7.0.x also no longer working on Win7. Tried several times to uninstall, reboot, repair, install. ST hangs on startup looks like trying to create bogus path. Crash dialog cannot be closed/does not connect to browser.

ERROR \[2016-02-16 16:31:11,774\] \[1\] \[SourceTree.Accounts.AccountManager\] \[.ctor\] - Unable to load accounts

System.UnauthorizedAccessException: Access to the path 'C:\\Program Files (x86)\\Atlassian\\SourceTree\\AppData\\Local\\Atlassian\\SourceTree' is denied.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)


author: Tim Ryan
body: ERROR \[2016-02-16 16:31:11,774\] \[1\] \[SourceTree.Accounts.AccountManager\] \[.ctor\] - Unable to load accounts  
System.UnauthorizedAccessException: Access to the path 'C:\\Program Files (x86)\\Atlassian\\SourceTree\\AppData\\Local\\Atlassian\\SourceTree' is denied.  
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)  
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)  
at SourceTree.Configuration.DefaultConfigurationManager.get_ApplicationDataFolder() in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\SourceTree.Api\\Configuration\\DefaultConfigurationManager.cs:line 84  
at SourceTree.Accounts.DefaultAccountPersistenceService.LoadAccounts() in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\Accounts\\DefaultAccountPersistenceService.cs:line 66  
at SourceTree.Accounts.AccountManager.LoadHostedAccounts() in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\Accounts\\AccountManager.cs:line 188  
at SourceTree.Accounts.AccountManager..ctor(IDvcsManager dvcsManager, IDispatcher dispatcher, IInstanceManager instanceManager, IWebManager webManager, IInteractionsManager interactionsManager, IConfigurationManager configurationManager, IHostManager hostManager, IHostUiManager hostUiManager, IEnumerable\`1 persistenceServices) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\Accounts\\AccountManager.cs:line 88  
ERROR \[2016-02-16 16:31:12,017\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnStartup(StartupEventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 184  
at SourceTree.App.OnStartup(StartupEventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\App.xaml.cs:line 130  
at System.Windows.Application.\<.ctor\>b__1(Object unused)  
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 \[2016-02-16 16:31:12,545\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnActivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 158  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:31:15,599\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnDeactivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 175  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:31:29,102\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnDeactivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 175  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:31:32,954\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnDeactivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 175  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:32:28,565\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnDeactivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 175  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:32:31,887\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnDeactivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 175  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:50:15,635\] \[1\] \[SourceTree.Accounts.AccountManager\] \[.ctor\] - Unable to load accounts  
System.UnauthorizedAccessException: Access to the path 'C:\\Program Files (x86)\\Atlassian\\SourceTree\\AppData\\Local\\Atlassian\\SourceTree' is denied.  
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)  
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)  
at SourceTree.Configuration.DefaultConfigurationManager.get_ApplicationDataFolder() in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\SourceTree.Api\\Configuration\\DefaultConfigurationManager.cs:line 84  
at SourceTree.Accounts.DefaultAccountPersistenceService.LoadAccounts() in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\Accounts\\DefaultAccountPersistenceService.cs:line 66  
at SourceTree.Accounts.AccountManager.LoadHostedAccounts() in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\Accounts\\AccountManager.cs:line 188  
at SourceTree.Accounts.AccountManager..ctor(IDvcsManager dvcsManager, IDispatcher dispatcher, IInstanceManager instanceManager, IWebManager webManager, IInteractionsManager interactionsManager, IConfigurationManager configurationManager, IHostManager hostManager, IHostUiManager hostUiManager, IEnumerable\`1 persistenceServices) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\Accounts\\AccountManager.cs:line 88  
ERROR \[2016-02-16 16:50:15,873\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnStartup(StartupEventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 184  
at SourceTree.App.OnStartup(StartupEventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\App.xaml.cs:line 130  
at System.Windows.Application.\<.ctor\>b__1(Object unused)  
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 \[2016-02-16 16:50:16,075\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnActivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 158  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:50:30,541\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnDeactivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 175  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:50:35,317\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnDeactivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 175  
at System.Windows.Application.AppFilterMessage(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 \[2016-02-16 16:52:16,950\] \[1\] \[SourceTree.AppRoot\] \[HandleCrash\] - Fatal error  
System.NullReferenceException: Object reference not set to an instance of an object.  
at SourceTree.AppRoot.OnDeactivated(EventArgs e) in C:\\projects\\[bitbucket.org](http://bitbucket.org)\\atlassian\\sourcetreewin-prod\\AppRoot.cs:line 175  
at System.Windows.Application.AppFilterMessage(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)  


author: Tim Ryan
body: Another round of uninstall, delete folders, wack registry entries and 1.7.0.x magically installed correctly and starts without issues.


author: maxxyme
body: Hi,

Just had a similar problem with the new 1.8 SourceTree, and tried downgrading.

What is weird, is we can see in the Windows Release Notes there's a SourceTree 1.7.0.36739 after this 1.7.0.32509: <https://www.sourcetreeapp.com/update/WindowsReleaseNotes.html>

But this version can't be found, either by altering the URL given about, or selecting it when upgrading from an older SourceTree version.

Any ideas?


Tags: windows