-
Bug
-
Resolution: Fixed
-
Medium
-
2.4.7.0, 2.4.8.0, 3.4.12
-
None
-
Severity 2 - Major
This appears to be a regression of SRCTREEWIN-4506.
Every second time I open SourceTree, I get the initial error
'ssh-agent' failed with code -1: System.NullReferenceException: Object reference not set to an instance of an object. ()
Followed by several (about 3) of these errors:
'git tag' failed with code -1: System.ComponentModel.Win32Exception: The system cannot find the file specified (<path to my local repository>)
An equal number of errors which are idential except the command used is 'git status' not 'git tag'.
Attempting to load the branch view (by clicking the master branch) results in the same error for 'git log', and selecting the working copy again results in 'git tag' and 'git status' errors. Any action within SourceTree which would trigger an update of the relevant views causes the errors to be rethrown.
Restarting SourceTree works, as, like I mentioned, it only happens every second time SourceTree is opened (i.e. after a successfully started instance of the program is closed).
This affects versions going back quite a while, but I don't have specific version numbers. In the past it would crash on startup instead (still every second run), and the BugSplat reporter would open, this was fixed sometime in the last 6 months or so, I would estimate.
- is related to
-
SRCTREEWIN-14314 When configured for OpenSSH opening SourceTree results in an access is denied error message
-
- Gathering Impact
-
- relates to
-
SRCTREEWIN-14197 Win32Exception access is denied on all git commands
-
- Gathering Impact
-
- was cloned as
-
SRCTREEWIN-14379 SourceTree unusable on startup ('ssh-agent' failed with code -1: System.NullReferenceException)
-
- Gathering Impact
-