[MonoDevelop] Exceptions from NGit

Matt Calder mvcalder at gmail.com
Fri May 23 12:27:14 UTC 2014


I get exceptions from NGit when I try to rename a file from the Solution
panel (stack trace below). I suspected that NGit was not properly
installed. I have just built monodevelop from git this morning, yet listing
NGit files shows a couple of dll's from way back:

calder at pharos:~/tmp/monodevelop$ ls -lt /usr/lib/monodevelop/bin/NGit*
-rw-r--r-- 1 root root 525246 Feb 17 18:09
/usr/lib/monodevelop/bin/NGit.dll.mdb
-rwxr-xr-x 1 root root 926720 Feb 17 18:09 /usr/lib/monodevelop/bin/NGit.dll
calder at pharos:~/tmp/monodevelop$ ls -lt /usr/lib/monodevelop/AddIns/*/NGit*
-rw-r--r-- 1 root root 586913 May 23 08:03
/usr/lib/monodevelop/AddIns/VersionControl/NGit.dll.mdb
-rwxr-xr-x 1 root root 960000 May 23 08:03
/usr/lib/monodevelop/AddIns/VersionControl/NGit.dll
-rw-r--r-- 1 root root 584731 Feb 17 18:09
/usr/lib/monodevelop/AddIns/MonoDevelop.Refactoring/NGit.dll.mdb
-rwxr-xr-x 1 root root 959488 Feb 17 18:09
/usr/lib/monodevelop/AddIns/MonoDevelop.Refactoring/NGit.dll

I replaced the older versions of the files with the newer but still get the
same exception. Does anyone have a suggestion of how I might fix this?


Matt

---------------------------------
Stack trace of exception:

System.TypeLoadException: Could not load type 'Sharpen.DigestInputStream'
from assembly 'NGit'.
  at NGit.Storage.File.RefDirectory.GetPackedRefs () [0x00000] in <filename
unknown>:0
  at NGit.Storage.File.RefDirectory.GetRef (System.String needle) [0x00000]
in <filename unknown>:0
  at NGit.Repository.GetRef (System.String name) [0x00000] in <filename
unknown>:0
  at NGit.Repository.Resolve (NGit.Revwalk.RevWalk rw, System.String
revstr) [0x00000] in <filename unknown>:0
  at NGit.Repository.Resolve (System.String revstr) [0x00000] in <filename
unknown>:0
  at MonoDevelop.VersionControl.Git.GitRepository.GetHeadCommit
(NGit.Repository repository) [0x00000] in <filename unknown>:0
  at MonoDevelop.VersionControl.Git.GitRepository.GetDirectoryVersionInfo
(FilePath localDirectory, IEnumerable`1 localFileNames, Boolean
getRemoteStatus, Boolean recursive) [0x00000] in <filename unknown>:0
  at MonoDevelop.VersionControl.Git.GitRepository.OnGetVersionInfo
(IEnumerable`1 paths, Boolean getRemoteStatus) [0x00000] in <filename
unknown>:0
  at MonoDevelop.VersionControl.Repository.GetVersionInfo (IEnumerable`1
paths, VersionInfoQueryFlags queryFlags) [0x00000] in <filename unknown>:0
  at MonoDevelop.VersionControl.Repository.GetVersionInfo (FilePath
localPath, VersionInfoQueryFlags queryFlags) [0x00000] in <filename
unknown>:0
  at MonoDevelop.VersionControl.Git.GitRepository.OnMoveFile (FilePath
localSrcPath, FilePath localDestPath, Boolean force, IProgressMonitor
monitor) [0x00000] in <filename unknown>:0
  at MonoDevelop.VersionControl.Repository.MoveFile (FilePath localSrcPath,
FilePath localDestPath, Boolean force, IProgressMonitor monitor) [0x00000]
in <filename unknown>:0
  at MonoDevelop.VersionControl.VersionControlFileSystemExtension.MoveFile
(FilePath source, FilePath dest) [0x00000] in <filename unknown>:0
  at
MonoDevelop.VersionControl.VersionControlFileSystemExtension.RenameFile
(FilePath file, System.String newName) [0x00000] in <filename unknown>:0
  at MonoDevelop.Core.FileService.InternalRenameFile (System.String
srcFile, System.String newName) [0x00000] in <filename unknown>:0
  at MonoDevelop.Core.FileService.RenameFile (System.String oldName,
System.String newName) [0x00000] in <filename unknown>:0
  at
MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFileNodeCommandHandler.RenameItem
(System.String newName) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.HandleOnEdit
(System.Object o, Gtk.EditedArgs e) [0x00000] in <filename unknown>:0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20140523/6e665bc7/attachment.html>


More information about the Monodevelop-list mailing list