question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Object reference not set to an instance of an object.

See original GitHub issue

Hi, 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:closed
  • Created 11 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
spraintscommented, Feb 1, 2013

Please re-open this if your issue isn’t resolved by the libgit2sharp update.

1reaction
spraintscommented, Jan 31, 2013

I’m updating it…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object Reference Not Set to an Instance of an Object
This infamous and dreaded error message happens when you get a NullReferenceException. This exception is thrown when you try to access a member—for...
Read more >
What does "Object reference not set to an instance of an ...
If you try to access a member of a class instance using a null reference then you get a System.NullReferenceException. Which is the...
Read more >
How to solve error object reference not set to an instance of ...
I work on csharp i get error object reference not set to an instance of an object code give me error var Data...
Read more >
Object reference not set to an instance of an object. - Forum
The message "object reference not set to an instance of an object" means that you are referring to an object the does not...
Read more >
Object reference not set to an instance of an object” error?
The “Object reference not set to an instance of an object” is a very famous error in C# that appears when you get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found