Attempt to invoke virtual method on a null object reference (service)
49
What is a NullPointerException, and how do I fix it?
134746
Where do "pure virtual function call" crashes come from?
127452
Why is typeof null "object"?
97993
How to pass a List to a service reference (C#, VS2008)
92446
C#: How to pass null to a function expecting a ref?
97368
How can I set up .NET UnhandledException handling in a Windows service?
12296
How can I return NULL from a generic method in C#?
149666
Why can't a null-reference exception name the object that has a null reference?
20390
Virtual member call in a constructor
46944
Null pointer Exception - findViewById()
77711
How to use Reflection to Invoke an Overloaded Method in .NET
101471
Unit testing void methods?
28348
How do I handle null or optional DLL struct parameters
134010
Can Visual Studio tell me which reference threw a NullReferenceException?
8738
Should a retrieval method return 'null' or throw an exception when it can't produce the return value?
33103
How come invoking a (static) method on a null reference doesn't throw NullPointerException?
95
Calling virtual functions inside constructors