diff --git a/src/main/java/com/redhat/devtools/lsp4ij/settings/ui/LanguageServerPanel.java b/src/main/java/com/redhat/devtools/lsp4ij/settings/ui/LanguageServerPanel.java index b52d5bdc4..a273e24ea 100644 --- a/src/main/java/com/redhat/devtools/lsp4ij/settings/ui/LanguageServerPanel.java +++ b/src/main/java/com/redhat/devtools/lsp4ij/settings/ui/LanguageServerPanel.java @@ -356,6 +356,8 @@ public ComboBox getErrorReportingKindCombo() { @Override public void dispose() { - getConfiguration().resetJsonSchema(); + if (configurationWidget != null) { + configurationWidget.resetJsonSchema(); + } } }