Bug 13412 - Exception during git checkout (fetch)
Summary: Exception during git checkout (fetch)
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 4.0.9
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Marius Ungureanu
URL:
Depends on:
Blocks:
 
Reported: 2013-07-23 10:27 UTC by RichardH
Modified: 2013-07-23 11:29 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description RichardH 2013-07-23 10:27:41 UTC
Checkout (via version control menu/dialogs) fails with the error: Exception caught during execution of fetch command

Quitting and restarting Xamarin Studio appears to fix the problem.




NGit.Api.Errors.JGitInternalException: Exception caught during execution of fetch command ---> NGit.Errors.NotSupportedException: URI not supported: git:///https://Mangamoo@bitbucket.org/Mangamoo/mangamoo-iphone-oneshot-v3.git
  at NGit.Transport.Transport.Open (NGit.Repository local, NGit.Transport.URIish uri, System.String remoteName) [0x0006f] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/external/ngit/NGit/NGit.Transport/Transport.cs:626 
  at NGit.Transport.Transport.Open (NGit.Repository local, NGit.Transport.RemoteConfig cfg, Operation op) [0x00037] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/external/ngit/NGit/NGit.Transport/Transport.cs:485 
  at NGit.Transport.Transport.Open (NGit.Repository local, System.String remote, Operation op) [0x00026] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/external/ngit/NGit/NGit.Transport/Transport.cs:352 
  at NGit.Transport.Transport.Open (NGit.Repository local, System.String remote) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/external/ngit/NGit/NGit.Transport/Transport.cs:318 
  at NGit.Api.FetchCommand.Call () [0x00006] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/external/ngit/NGit/NGit.Api/FetchCommand.cs:117 
  --- End of inner exception stack trace ---
  at NGit.Api.FetchCommand.Call () [0x000ff] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/external/ngit/NGit/NGit.Api/FetchCommand.cs:153 
  at NGit.Api.CloneCommand.Fetch (NGit.Repository clonedRepo, NGit.Transport.URIish u) [0x000d5] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/external/ngit/NGit/NGit.Api/CloneCommand.cs:171 
  at NGit.Api.CloneCommand.Call () [0x00014] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/external/ngit/NGit/NGit.Api/CloneCommand.cs:110 
  at MonoDevelop.VersionControl.Git.GitRepository.OnCheckout (FilePath targetLocalPath, MonoDevelop.VersionControl.Revision rev, Boolean recurse, IProgressMonitor monitor) [0x0004e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:704 
  at MonoDevelop.VersionControl.Repository.Checkout (FilePath targetLocalPath, MonoDevelop.VersionControl.Revision rev, Boolean recurse, IProgressMonitor monitor) [0x00007] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Repository.cs:430 
  at MonoDevelop.VersionControl.CheckoutWorker.Run () [0x00006] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/CheckoutCommand.cs:56 
  at MonoDevelop.VersionControl.Task.BackgroundWorker (System.Object state) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/f9c5c24e/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Task.cs:52
Comment 1 Marius Ungureanu 2013-07-23 11:29:10 UTC
First time, you copy-pasted your link after the git:// block. The second time, you selected all the text and replaced it with your link. (as can be seen by git:///https://)

A fix that allows people to avoid these bugs (if the clipboard paste contains a full url, we replace the text completely) has been issued.