mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] NPE (EA-92254)
This commit is contained in:
+1
-1
@@ -516,7 +516,7 @@ object UpdateChecker {
|
||||
fun checkForUpdate(event: IdeaLoggingEvent) {
|
||||
if (!ourHasFailedPlugins) {
|
||||
val app = ApplicationManager.getApplication()
|
||||
if (!app.isDisposed && !app.isDisposeInProgress && UpdateSettings.getInstance().isCheckNeeded) {
|
||||
if (app != null && !app.isDisposed && !app.isDisposeInProgress && UpdateSettings.getInstance().isCheckNeeded) {
|
||||
val pluginDescriptor = PluginManager.getPlugin(IdeErrorsDialog.findPluginId(event.throwable))
|
||||
if (pluginDescriptor != null && !pluginDescriptor.isBundled) {
|
||||
ourHasFailedPlugins = true
|
||||
|
||||
Reference in New Issue
Block a user