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
Aaron anodide
source
to share
No one has answered this question yet
See similar questions:
61
or similar:
1877
1743
1327
1270
1109
677
21
eleven
0
0