We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c1829bc + 0b93830 commit 52bde80Copy full SHA for 52bde80
1 file changed
plugin/src/main/java/io/snyk/eclipse/plugin/wizards/SnykWizardModel.java
@@ -19,6 +19,10 @@ public void resetPreferences() {
19
Preferences.getInstance().setIsInsecure(initialUnknownCerts);
20
Preferences.getInstance().store(Preferences.AUTH_TOKEN_KEY, initialAuthToken);
21
22
- SnykExtendedLanguageClient.getInstance().updateConfiguration();
+ SnykExtendedLanguageClient client = SnykExtendedLanguageClient.getInstance();
23
+ // The language client may be null when the extension first loads, so only update configuration if we are able.
24
+ if (client != null) {
25
+ client.updateConfiguration();
26
+ };
27
}
28
0 commit comments