It is almost certainly a threading issue – see this question and its accepted answer.
Dictionary<>.Insert() will throw a NullReferenceException internally if the dictionary instance is modified from another thread during the insert operation.
It is almost certainly a threading issue – see this question and its accepted answer.
Dictionary<>.Insert() will throw a NullReferenceException internally if the dictionary instance is modified from another thread during the insert operation.