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,558,718
Community Members
 
Community Events
184
Community Groups

source tree crashes when try to edit remotes. how to fix that?

Edited

I am using source tree version 3.3.9 and git version 2.29.2.windows.3. I connected local repository to remote via ssh, everything working well. but remote icon in the right top corner shows an exclamation mark to  indicate an error. when i try to edit my remote origin in settings, suddenly app crashes and close. i have completely reinstall the source tree but cannot fix that. is there any solution to fix that? 

4 answers

Same here
ERROR [2021-01-04 11:31:28,683] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2021-01-04 11:31:28,790] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2021-01-04 11:31:28,796] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2021-01-04 11:34:26,233] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2021-01-04 11:34:26,306] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2021-01-04 11:34:26,310] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist

(SourceTree 3.9.4)

 

Which is a shame.. The pull request feature was mostly what I have been using it for. Now with this it renders the application useless

I tried to uninstall the source tree, download it, then install it.
It worksed for me.

Any news on this issue?

Facing the same problem. Happening to me for remote GitHub repositories, private aswell as public.

I also get the log entry

ERROR [2021-01-06 19:48:09,949] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist

Although this message does appear on application start. When I try to edit and the app crashes there is no additional log entry made.

The Stacktrace I got from the Windows Eventmonitor looks promising though:

Anwendung: SourceTree.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.NullReferenceException
bei SourceTree.ViewModel.RemoteDetailsDialogViewModel.set_Url(System.String)
bei SourceTree.ViewModel.RemoteDetailsDialogViewModel..ctor(SourceTree.Model.Repository, System.String, System.String, System.Collections.Generic.List`1<System.String>, SourceTree.Model.RepositoryRemoteProjectLink, System.Action`2<SourceTree.ViewModel.AbstractDialogViewModel,Int32>, SourceTree.CustomActions.ICustomActionsManager, SourceTree.Scheduler.ISchedulerManager, SourceTree.Repositories.IRepositoryManager, SourceTree.Diagnostics.ITraceManager, SourceTree.Scheduler.IDispatcher, SourceTree.Accounts.IAccountManager, SourceTree.Diagnostics.IFailureHandler, SourceTree.Dvcss.IDvcsManager, SourceTree.Repositories.IRepositoryMonitorManager, SourceTree.View.FileLists.IFileListViewManager, SourceTree.View.Container.IFileListContainerViewManager, SourceTree.View.Diff.IDiffViewManager, SourceTree.Configuration.IConfigurationManager, SourceTree.View.Process.IProcessDialogViewManager, SourceTree.View.ChangeSets.IChangeSetViewManager, SourceTree.Notifications.INotificationsManager)
bei SourceTree.ViewModel.RepoSettingsDialogViewModel.EditRemote()
bei SourceTree.ViewModel.RepoSettingsDialogViewModel.<get_EditRemoteCommand>b__64_0(System.Object)
bei SourceTree.View.Utils.RelayCommand.Execute(System.Object)
bei SourceTree.View.Dialogs.RepoSettingsDialog.RemoteListDoubleClicked(System.Object, System.Windows.Input.MouseButtonEventArgs)
bei System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
bei System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
bei System.Windows.Controls.Control.HandleDoubleClick(System.Object, System.Windows.Input.MouseButtonEventArgs)
bei System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
bei System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
bei System.Windows.UIElement.OnMouseDownThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
bei System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
bei System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
bei System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
bei System.Windows.Input.InputManager.ProcessStagingArea()
bei System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
bei System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
bei MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
bei System.Windows.Application.RunDispatcher(System.Object)
bei System.Windows.Application.RunInternal(System.Windows.Window)
bei SourceTree.App.Main()

To add to this: This does not happen to me using Azure DevOps Remotes.

Happening to me as well!

Even after cloning fresh repository, Clicking "Repository settings", then trying to edit the default hangs then crashes the app.

 

Logs:
```

ERROR [2020-12-27 09:49:08,301] [1] [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent
ERROR [2020-12-27 10:16:26,666] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to check login for user [UserName]
ERROR [2020-12-27 10:17:10,152] [1] [Sourcetree.Installer.Squirrel.Utils.UpdateHelper] [Log] - Couldn't read staging user ID
ERROR [2020-12-27 10:17:10,156] [1] [Sourcetree.Installer.Squirrel.Utils.UpdateHelper] [Log] - Couldn't read staging user ID
ERROR [2020-12-28 13:26:32,049] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2020-12-28 14:29:05,547] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2020-12-28 14:29:05,593] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2020-12-28 14:29:05,596] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist

...

...

ERROR [2020-12-30 02:30:47,212] [1] [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent
ERROR [2020-12-30 02:41:31,202] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2020-12-30 02:41:31,251] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist

...

...

ERROR [2021-01-03 13:14:41,010] [1] [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent


ERROR [2021-01-03 13:22:31,525] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist

...

...

```


(SoruceTree 3.4.1, Git for Windows 2.92.2)

I tried to uninstall the source tree, download it, then install it.
It worksed for me.

0 votes
Daniel Ebers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 12, 2020 • edited

Hi John,

welcome to the Atlassian Community!

Have you had the chance to look into logs?
Probably an error is logged there pointing to a possible cause?

https://confluence.atlassian.com/sourcetreekb/sourcetree-logfile-location-675384748.html

Let us know if you found something out!

Regards,
Daniel

sourcetree.log file returns,

ERROR [2020-12-12 22:06:10,730] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2020-12-12 22:06:10,768] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2020-12-12 22:16:59,331] [1] [SourceTree.Utils.WindowsOSHelper] [Log] - OpenWebBrowser for git@bitbucket.org:LesleyJJ/hrm-backend.git failed with exception: System.ComponentModel.Win32Exception: The system cannot find the file specified

Daniel Ebers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 12, 2020 • edited

There is nothing visible that should lead to a crash but in case you can fix the source of the errors it might have a positive contribution to the overall situation.

The last error reminds of a bug for example:
https://jira.atlassian.com/browse/SRCTREEWIN-7964
In some other related cases it was reported due to missing 'git' on the system at all.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events