Object reference not set to an instance of an object.
See original GitHub issueHi, We have quite large TFS repository, the Dev branch is about 12Gb. Started using git-tfs about 2 month ago. Setup is pretty close to the one described in http://sparethought.wordpress.com/2012/08/23/my-environment-for-day-to-day-work-with-git-tfs/ Everything worked great, but about 1 week ago there was big change-set and I began to receive Out of memory error on “git tfs [ pull | fetch ]” on the server with main- at that time I was using the pre-compiled version from http://git-tfs.com/ - we were able to overcome this problem by downloading and compiling latest sources. Then on developer’s PCs we began to receive “Object reference not set to an instance of an object.” on most “git tfs” commands (bootstrap, shelve, fetch, pull).
For example:
$ git tfs pull -d -r
git-tfs version 0.16.1.0 (TFS client library 11.0.0.0 (MS)) (64-bit)
No authors file used.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sep.Git.Tfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList`1 args) in d:\Git\git-tfs\GitTfs\Util\GitTfs
CommandRunner.cs:line 36
at Sep.Git.Tfs.Program.Main(String[] args) in d:\Git\git-tfs\GitTfs\Program.cs:line 22
Object reference not set to an instance of an object.
Please advice.
Issue Analytics
- State:
- Created 11 years ago
- Comments:11 (5 by maintainers)
Please re-open this if your issue isn’t resolved by the libgit2sharp update.
I’m updating it…