Getting the following error.  Doesn't happen all the time.  If I run my algo for the last month there are no errors.  Any longer time frames and this pops up.  However, there is nothing around line 252 and I've adjusted code and deleted lines and it still says 252.  Any suggestions?

Value cannot be null. (Parameter 'key') in SecurityManager.cs:line 252