Why is NullReferenceException not giving the name of the identifier?
This happens to me all the time. I have code that breaks at runtime with NullReferenceException
:
I am being told the original file and line number, but not the actual location of the attempted link to what turned out to be null, in which case I cannot tell if it is _request
or Banker
.
What is the main reason why such valuable information has been omitted?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: