I just hit this whilst viewing D13040. It seems to reproduce consistently:
Argument 1 passed to DifferentialChangesetHTMLRenderer::renderImageStage() must be an instance of PhabricatorFile, null given, called in /core/lib/phabricator/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php on line 228 and defined