The error occurs after you hover over the country land doctrines such as the 'commonwealth doctrine'.
It doesn't happen with the county navel doctrines.
As far as I can tell it's the number of effects that causes the error. Removing either half of the effects from a doctrin fixes the issue with that doctrin (but obviously makes unwanted changes).
And that seems to be it...I tested the same thing and hit happened to me...