Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Version control operation failed Short read of block

$
0
0

While trying to retrieve code base from a TFS-hosted git I get the following error. This is on a mac and happens in both XS and MonoDevelop. It does not happen immediately but after 1/4 of the progress bar. XS version: 4.0.4 build 2. MonoDevelop version: 3.1.1. I did not have these problems initially, it appeared after adding an Android in VS on a pc. I can supply git connection and credentials in private if needed.

On another note, being new to git, how would one discard local changes in XS and get a fresh copy of a particular branch? Using "Update" does not seem to give me this option and there is no "pull" option in a solutions context menu.

Sharpen.EOFException: Short read of block. at NGit.Util.IOUtil.ReadFully (Sharpen.InputStream fd, System.Byte[] dst, Int32 off, Int32 len) [0x00037] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Util/IOUtil.cs:264 at NGit.Transport.PacketLineIn.ReadLength () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/PacketLineIn.cs:232 at NGit.Transport.SideBandInputStream.NeedDataPacket () [0x00029] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/SideBandInputStream.cs:161 at NGit.Transport.SideBandInputStream.Read (System.Byte[] b, Int32 off, Int32 len) [0x00007] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/SideBandInputStream.cs:134 at NGit.Transport.PackParser.Fill (Source src, Int32 need) [0x000a7] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/PackParser.cs:1292 at NGit.Transport.PackParser+InflaterStream.Read (System.Byte[] dst, Int32 pos, Int32 cnt) [0x00088] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/PackParser.cs:1887 at Sharpen.InputStream.Read (System.Byte[] buf) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/Sharpen/Sharpen/InputStream.cs:79 at NGit.Transport.PackParser.Whole (Int64 pos, Int32 type, Int64 sz) [0x0005d] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/PackParser.cs:1102 at NGit.Transport.PackParser.IndexOneObject () [0x000bb] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/PackParser.cs:1027 at NGit.Transport.PackParser.Parse (NGit.ProgressMonitor receiving, NGit.ProgressMonitor resolving) [0x0007f] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/PackParser.cs:515 at NGit.Storage.File.ObjectDirectoryPackParser.Parse (NGit.ProgressMonitor receiving, NGit.ProgressMonitor resolving) [0x00061] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Storage.File/ObjectDirectoryPackParser.cs:197 at NGit.Transport.PackParser.Parse (NGit.ProgressMonitor progress) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/PackParser.cs:467 at NGit.Transport.BasePackFetchConnection.ReceivePack (NGit.ProgressMonitor monitor) [0x00063] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/BasePackFetchConnection.cs:859 at NGit.Transport.BasePackFetchConnection.DoFetch (NGit.ProgressMonitor monitor, ICollection1 want, ICollection1 have) [0x00073] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/BasePackFetchConnection.cs:338 at NGit.Transport.TransportHttp+SmartHttpFetchConnection.DoFetch (NGit.ProgressMonitor monitor, ICollection1 want, ICollection1 have) [0x00032] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/TransportHttp.cs:932 at NGit.Transport.BasePackFetchConnection.Fetch (NGit.ProgressMonitor monitor, ICollection1 want, ICollection1 have) [0x00006] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/BasePackFetchConnection.cs:282 at NGit.Transport.FetchProcess.FetchObjects (NGit.ProgressMonitor monitor) [0x00020] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/FetchProcess.cs:282 at NGit.Transport.FetchProcess.ExecuteImp (NGit.ProgressMonitor monitor, NGit.Transport.FetchResult result) [0x0010a] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/FetchProcess.cs:167 at NGit.Transport.FetchProcess.Execute (NGit.ProgressMonitor monitor, NGit.Transport.FetchResult result) [0x00033] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/FetchProcess.cs:108 at NGit.Transport.Transport.Fetch (NGit.ProgressMonitor monitor, ICollection`1 toFetch) [0x00105] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/Transport.cs:1274 at NGit.Api.FetchCommand.Call () [0x00067] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Api/FetchCommand.cs:129 at NGit.Api.CloneCommand.Fetch (NGit.Repository clonedRepo, NGit.Transport.URIish u) [0x000d5] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/external/ngit/NGit/NGit.Api/CloneCommand.cs:171 at NGit.Api.CloneCommand.Call () [0x00014] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/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-evolve_fixed/a8bf58d3/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-evolve_fixed/a8bf58d3/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-evolve_fixed/a8bf58d3/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-evolve_fixed/a8bf58d3/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Task.cs:52


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>