Bug 680 - Git crash
Summary: Git crash
Status: RESOLVED DUPLICATE of bug 350
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 2.6 RC 1
Hardware: Macintosh Mac OS
: --- critical
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2011-09-08 14:49 UTC by James Clancey
Modified: 2011-10-03 22:29 UTC (History)
3 users (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 DUPLICATE of bug 350

Description James Clancey 2011-09-08 14:49:20 UTC
If you create create a repository using the github app monodevelop is unable to use the projects in that repo.  Whenever I try and open a file I get 

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: Unknown repository format ""; expected "0".
  at NGit.Storage.File.FileRepository..ctor (BaseRepositoryBuilder options) [0x00000] in <filename unknown>:0 
  at NGit.Storage.File.FileRepository..ctor (Sharpen.FilePath gitDir) [0x00000] in <filename unknown>:0 
  at NGit.Storage.File.FileRepository..ctor (System.String gitDir) [0x00000] in <filename unknown>:0 
  at MonoDevelop.VersionControl.Git.LocalGitRepository..ctor (System.String path) [0x00000] in <filename unknown>:0 
  at MonoDevelop.VersionControl.Git.GitRepository..ctor (FilePath path, System.String url) [0x00014] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:71 
  at MonoDevelop.VersionControl.Git.GitVersionControl.GetRepositoryReference (FilePath path, System.String id) [0x0007f] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs:61 
  at MonoDevelop.VersionControl.Git.GitVersionControl.GetRepositoryReference (FilePath path, System.String id) [0x0009c] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs:65 
  at MonoDevelop.VersionControl.VersionControlService.GetRepositoryReference (System.String path, System.String id) [0x00017] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs:199 
  at MonoDevelop.VersionControl.VersionControlService.GetRepository (IWorkspaceObject entry) [0x00028] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs:185 
  at MonoDevelop.VersionControl.Views.SubviewAttachmentHandler.HandleDocumentOpened (System.Object sender, MonoDevelop.Ide.Gui.DocumentEventArgs e) [0x00011] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/SubviewAttachmentHandler.cs:42 
  at MonoDevelop.Ide.Gui.Workbench.OnDocumentOpened (MonoDevelop.Ide.Gui.DocumentEventArgs e) [0x0000d] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:961 
  at MonoDevelop.Ide.Gui.Workbench.WrapDocument (IWorkbenchWindow window) [0x00055] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:566 
  at MonoDevelop.Ide.Gui.ViewCommandHandlers..ctor (IWorkbenchWindow window) [0x0000d] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ViewCommandHandlers.cs:49 
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow..ctor (MonoDevelop.Ide.Gui.DefaultWorkbench workbench, IViewContent content, Gtk.Notebook tabControl, MonoDevelop.Components.TabLabel tabLabel) [0x0011c] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:98 
  at MonoDevelop.Ide.Gui.DefaultWorkbench.ShowView (IViewContent content, Boolean bringToFront) [0x00113] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:379 
  at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x0017b] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:1058 
  at MonoDevelop.Ide.Gui.Workbench.RealOpenFile (MonoDevelop.Ide.Gui.FileOpenInformation openFileInfo) [0x00387] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:745 
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (FilePath fileName, Int32 line, Int32 column, OpenDocumentOptions options, System.String encoding, IViewDisplayBinding binding) [0x001c4] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:381 
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (FilePath fileName, OpenDocumentOptions options) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:312 
  at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFileNodeCommandHandler.ActivateItem () [0x00011] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFileNodeBuilder.cs:182 
  at MonoDevelop.Ide.Gui.Components.NodeCommandHandler.ActivateMultipleItems () [0x0000e] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/NodeCommandHandler.cs:100 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.ActivateCurrentItem () [0x00052] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs:828 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.OnNodeActivated (System.Object sender, Gtk.RowActivatedArgs args) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.6/7a6fef40/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs:1903 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Reflection/MonoMethod.cs:226 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Reflection/MonoMethod.cs:234 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Reflection/MethodBase.cs:96 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000bf] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System/Delegate.cs:408 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System/MulticastDelegate.cs:70 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System/Delegate.cs:382 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
Comment 1 Mikayla Hutchinson [MSFT] 2011-10-03 22:29:35 UTC

*** This bug has been marked as a duplicate of bug 350 ***