Different work of CodeAnalysisCheckinHandler in IDE and in plugin

I am developing a CheckinHandlerFactory that would extend CodeAnalysisCheckinHandlerFactory. To understand the principle of operation, I completely copied CodeAnalysisCheckinHandlerFactory into my plugin and disabled the default one (unregisterExtension). After this, the code analysis process began to crash with an exception. I assumed that this was related to the dispatcher for the line:

writeIntentReadAction {
      PsiDocumentManager.getInstance(project).commitAllDocuments()
}

When replacing it with writeAction{}, it stops crashing, but a dialog with the problems found do not display, the commit simply completes.

Please tell me why this happens.

Looks like the problem is here: java.lang.NoSuchFieldError: Class com.intellij.openapi.util.registry.Registry does not have member field ‘com.intellij.openapi.util.registry.Registry$Companion Companion’