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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

Lesley I'm New Here Dec 11, 2020

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

1 vote

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.

0 votes

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

Lesley I'm New Here Dec 12, 2020

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

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.

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)

Suggest an answer

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

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,725 views 19 19
Join discussion

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