SyntaxFix
Write A Post
Hire A Developer
Questions
Using the .Count() without checking for null is one strong reason for this error.
.Count()
null
THE FIX:
if(someList != null & someList.Count()>0) { //Now, put your hackable code here! }