void (@NotNull Throwable t) { if (!LoadingState.COMPONENTS_LOADED.isOccurred()) { return; } Application app = ApplicationManager.getApplication(); if (app != null && !app.isUnitTestMode() && !app.isDisposed()) { PluginUtil pluginUtil = PluginUtil.getInstance(); if (pluginUtil != null) { PluginId pluginId = pluginUtil.findPluginId(t); VMOptions.MemoryKind kind = DefaultIdeaErrorLogger.getOOMErrorKind(t); LifecycleUsageTriggerCollector.onError(pluginId, t, kind); } } }