Sourcetree WIN10 Installation does not successfully resolve process records

Source: Internet
Author: User
Tags git commands microsoft website sourcetree

Brief introduction

Sourcetree is a project version control software with a visual interface for Git project management, and it integrates the Git flow workflow, and for beginners unfamiliar with git commands, you can quickly learn to use git and git flow to Developed with code versioning and team collaboration.

Problem

The installation of Sourcetree (2.3.1.0) was not successful on a new WIN10 computer today, and there was no error prompting, after double-clicking the installation file, it did not install successfully after it was installed.

Solve

After Google found this problem on the Stack Overflow: Source Tree doesn ' t launch after installation

Cause

The most likely reason for this error is the User.config file for Sourcetree have been corrupted. You can confirm the locating the file in this Location:c:users<user>appdatalocalatlassiansourcetree.exe_<ra Ndom_string><version_number>

If This was the cause, when you open the file, it would be a full of <NULL> values.

Resolution

If The User.config file is indeed corrupted, your may delete it. It'll be regenerated the next time you start Sourcetree, and the application should start normally.

It seems the solution is C:\Users\<User>\AppData\Local\Atlassian\SourceTree.exe_<random_string>\<version_number> to remove user.config the next reinstall after

After trying the above method, the discovery is still invalid, so there is only another way.

I have done four years of. NET Development, ran to the C:\Users\<User>\AppData\Local\Atlassian\SourceTree directory to read the sourcetree.log log information:

ERROR [2018-03-17 20:27:06,785][3][Sourcetree.app][. ctor]-FinishensuresquirrelexecutionstubiscopiedERROR [2018-03-17 20:27:07,491][4][Sourcetree.app][Onstartup]-Failed toStartSystem. NullReferenceException: Object reference not set to an instance of an object. InSourcetree. Notifications. Notificationsmanager. SetOwner (NotificationdialogwindowNotificationWindow) inSourcetree. Notifications. Notificationsmanager. ShownotificationdialogT (NotificationdialogwindowNotificationWindow,Tuple ' 2CustomAction,Vistataskdialogiconicon) inSourcetree. Notifications. Notificationsmanager. ShownotificationdialogT (Stringtitle,Stringmessage,Tuple ' 2CustomAction,StringCancellabel,Stringsuppressionsetting,Action ' 1Suppressionchangedaction,ObjectContentControl,StringContentcommandlabel,ActionContentactiON) inSourcetree. Notifications. Notificationsmanager. Shownotificationdialogwithyesconfirmation (Stringtitle,Stringmessage,StringDetails) inSourcetree  sourcetree    Sourcetree    StartupEventArgs    e ) in   Sourcetree    StartupEventArgs    e )               
haha, Wpf found the figure, oneself still in about 10 years with WPF developed application, very cordial feeling.

Since it's a Microsoft Department technology tool, it certainly needs to be supported by the. NET Framework, so run to the Microsoft website https://www.microsoft.com/net ... Reinstall the latest. NET Framework.

Then reinstall the Sourcetree to get back to normal.

Sourcetree WIN10 Installation does not successfully resolve process records

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.