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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree crashes upon startup at work pc

 

SourceTree crash upon start up:

Faulting application name: SourceTree.exe, version: 2.4.8.0, time stamp: 0x5a5f7807
Faulting module name: dgapi64.dll, version: 7.3.1.77, time stamp: 0x58cc6f09
Exception code: 0xc0000409
Fault offset: 0x0000000000197040
Faulting process id: 0x1ea0
Faulting application start time: 0x01d3bfb48b0194a2
Faulting application path: C:\Users\username\AppData\Local\SourceTree\app-2.4.8\SourceTree.exe
Faulting module path: c:\windows\system32\dgapi64.dll
Report Id: e2e2702f-64b6-45ac-bff2-a34ad676b50e
Faulting package full name:
Faulting package-relative application ID:

2 answers

1 accepted

0 votes
Answer accepted

Issue was local firewall blocking some connections. 

0 votes
minnsey Atlassian Team Mar 20, 2018

Hi 

Can you post up anything significant from %localappdata%\atlassian\sourcetree\sourcetree.log ?

Thanks

Thanks for the response, sharing it below:

 

ERROR [2018-03-19 14:28:46,866] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2018-03-19 14:31:22,054] [1] [SourceTree.App] [OnStartup] - Failed to start
System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Refit.RequestBuilderImplementation.<>c__DisplayClass2e`1.<<buildCancellableTaskFuncForMethod>b__2d>d__30.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at SourceTree.Mau.Submission.Gas.GasMauSubmissionService.Submit(GasEvent userActivityEvent)
at SourceTree.Mau.Submission.Gas.GasMauSubmissionService.ForceSubmission()
at SourceTree.Analytics.AnalyticsDataManager.ForceSubmission()
at SourceTree.AppRoot.OnboardIfRequired()
at SourceTree.AppRoot.OnStartup(StartupEventArgs e)
at SourceTree.App.OnStartup(StartupEventArgs e)
---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Refit.RequestBuilderImplementation.<>c__DisplayClass2e`1.<<buildCancellableTaskFuncForMethod>b__2d>d__30.MoveNext()<---

ERROR [2018-03-19 14:52:34,162] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2018-03-19 14:55:52,275] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to get user details for user [shazibpwc]
ERROR [2018-03-19 14:57:47,388] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:57:54,182] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:57:57,954] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:58:02,582] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:58:06,080] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:58:09,976] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:58:13,143] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:58:16,396] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:58:22,720] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:58:26,464] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:58:29,986] [1] [SourceTree.Notifications.NotificationsManager] [ShowNotificationDialog] - Unable to set owner as parent is not visible or non-existent
ERROR [2018-03-19 14:59:08,819] [23] [SourceTree.Scheduler.SourceTreeDispatcher] [get_Dispatcher] - Unable to get Dispatcher Application.Current is null
ERROR [2018-03-19 14:59:08,831] [23] [SourceTree.Scheduler.SourceTreeDispatcher] [get_Thread] - Unable to get Thread dispatcher is null
ERROR [2018-03-19 14:59:08,832] [23] [SourceTree.Scheduler.SourceTreeDispatcher] [get_Dispatcher] - Unable to get Dispatcher Application.Current is null
ERROR [2018-03-19 14:59:08,832] [23] [SourceTree.Scheduler.SourceTreeDispatcher] [InvokeAsync] - Unable to invoke async action [System.Action] dispatcher is null
ERROR [2018-03-20 10:13:57,443] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2018-03-20 10:14:06,018] [12] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Insufficient authentication credentials
ERROR [2018-03-20 10:14:06,031] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to list repositories for user [shazibpwc]
ERROR [2018-03-20 10:14:07,520] [11] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Insufficient authentication credentials
ERROR [2018-03-20 10:14:07,520] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to list teams for user [shazibpwc]
ERROR [2018-03-20 10:14:07,521] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Unable to read memberships for the user from the remote host

minnsey Atlassian Team Mar 20, 2018

Hi Looking at that error, it looks like registration failed in someway.

Can you try backing up and then deleting %localappdata%\Atlassian\Sourcetree folder and any %localappdata%\Atlassian\Sourcetree.exe_url_{hash} folders and then restarting.

Be aware this will remove any bookmarks etc you had previously.

Then try restarting Sourcetree, it should take you through registration and then run.

Issue was local firewall blocking some connections. Thanks for the help!

minnsey Atlassian Team Jun 27, 2018

Thanks for the information, glad you are back up and running.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

4,402 views 4 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you