Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,490
Community Members
 
Community Events
185
Community Groups

how to reslove 'ssh-agent' failed with code-1: System.NullReferenceException: Object reference not set to an instance of an object.

I currently up source tree to latest version of source tree i.e 1.8.1 and then I try to open the source tree, i am facing some error message like "how to reslove 'ssh-agent' failed with code-1: System.NullReferenceException: Object reference not set to an instance of an object."  can some one please help me to resolve the issue.

5 answers

Install newest version of git

+1. The update process for the internal version of git failed to install, but I was able to switch to the system git, update from 1.8 to 2.7, and the ssh-agent issue was resolved.

same issue i am getting git version is 2.6.3 and source tree version is 2.3.5 so please help me how to resole it.

 

Awaiting for response!

Atlassian! seriously?!

Best solution... uninstall this s...

I updated git bash and integrate to the source tree via Tool > Option > Git > Use System Git

It worked 

I fallow same steps, but having same error message window comes.

 

 

image2016-2-17 12:3:36.png

Step I did : 

1>  Update embedded Git (Tool > Option > Git > "Update Embedded Git" - button)

This will download PortableGit.7z at "<user-folder>\AppData\Local\Atlassian\SourceTree"

2> Extract PortableGit.7z

3> Use as system git (Tool > Option > Git > Use System Git)

select "\bin\git.exe" from extracted folder

I fallow same step except in step 3 i select Use Embedded Git option and issue has gone. thanks

 

Excellent, I got same issue and like said Kamle I just select "Use Embedded Git" option  too and work, thanks!

ankti pate answer did the job, but Sourcetree auto upgrade failed, it could not dezipp the PortableGit.7z.

This is how I managed to fix it :

  1. Launch update Embedded Git (tools/options/git)
  2. If it failed : close sourcetree
  3. Go to "<user-folder>\AppData\Local\Atlassian\SourceTree"
  4. Rename  git_local to git_local_old
  5. Unzipp PortableGit.7z manually (with 7zip)to git_local
  6. restart sourcetree
  7. Go to (tools/options/git and check that Use Embedded Git is hcecked and the version is 2.6.1

@Craig Chapman is right. Installing newest version is solution in this problem. It also helped me.

I installed git version 1.9.5 but still facing  same issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events