The stack trace indicates that there was a problem when removing the edit lock (on cancel), but I don't see how this can be specific to the realtime WYSIWYG editor. The realtime editor doesn't do anything special with the cancel action. I'm pretty sure that whatever problem you had, it was reproducing with realtime disabled and probably even for the wiki editor.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.