When viewing diffs between deleted revisions, there is an exception raised. You only need to click on diff and the exception will occur.
I was finally able to reproduce this at test2wiki, where I'm able to see the stack trace.
However this occurs at dewiki as well, for example for me at:
https://de.wikipedia.org/w/index.php?title=Spezial:Wiederherstellen&target=Wikipedia%3ASchiedsgericht%2FAnfragen%2FSperrpr%C3%BCfung%3A+Mario+Schuller×tamp=20191025002315&diff=prev (error ID for me: XcX9IgpAIEIAABErGcwAAAAC)
Or at https://de.wikipedia.org/wiki/Spezial:Wiederherstellen/Datei:Landesgartenschau_Alzenau.PNG (reported by Leyo, his error ID: XcXsKwpAAEAAAAXsByMAAAAU, original report: https://de.wikipedia.org/w/index.php?title=Wikipedia:Administratoren/Notizen&oldid=193883750#Fataler_Ausnahmefehler_des_Typs_%E2%80%9EInvalidArgumentException%E2%80%9C)
At test2wiki that can be seen here: