We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d52e62 + d281c12 commit 0b93830Copy full SHA for 0b93830
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