-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: 1.8.2
-
Component/s: None
-
Severity 2 - Major
When attempting to update the embedded Git, Sourcetree crashes. Below is the log snippet:
ERROR [2016-02-23 08:15:28,697] [1] [SourceTree.AppRoot] [HandleCrash] - Fatal error
System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Net.WebProxy..ctor(String Host, Int32 Port)
at SourceTree.WebManager.ConfigureCustomProxy(WebClient webclient) in C:\projects\bitbucket.org\atlassian\sourcetreewin-prod\WebManager.cs:line 176
at SourceTree.ViewModel.DownloadWindowViewModel.Download() in C:\projects\bitbucket.org\atlassian\sourcetreewin-prod\ViewModel\DownloadWindowViewModel.cs:line 122
at SourceTree.Utils.GeneralHelper.DownloadFile(String url, String destLocation, IInteractionsManager interactionsManager, IWebManager webManager, IDispatcher dispatcher, IRepoProcessFactory repoProcessFactory, String extractLocation) in C:\projects\bitbucket.org\atlassian\sourcetreewin-prod\Utils\GeneralHelper.cs:line 614
at SourceTree.Download.DefaultDownloadManager.DownloadFile(Uri url, String downloadDestination, String extractionDestination) in C:\projects\bitbucket.org\atlassian\sourcetreewin-prod\Download\DefaultDownloadManager.cs:line 71
at SourceTree.ViewModel.PreferencesWindowViewModel.DownloadEmbeddedGit() in C:\projects\bitbucket.org\atlassian\sourcetreewin-prod\ViewModel\PreferencesWindowViewModel.cs:line 1174
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)