I just had it happen again--usually on ever few diffs.
I got the dialog, "Invalid argument". I tried to the close it with the button but it did not seem to work, so I used Esc. Then immediately I got the dialog, "This property or method is not allowed on this object". I closed the second dialog with an Esc, then the diff closes and so does SE.