Here is a list of the call stack every time it does this. It does it pretty much on clock work every month or so when the system fires off to see if any settlements are going to rebel.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey...