Skip to content

Commit 9cd084f

Browse files
committed
FIx possible in guidance start up listener, fixes #6754
1 parent a0a1b4c commit 9cd084f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/GuidanceStartupListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public void runActivity(@NotNull Project project) {
2121
.ifPresent(config -> GuidanceViewManager.getInstance().openCourseView(project, courseConfigFromWorkspace));
2222
// show guidance tool window after install
2323
final IIdeStore ideStore = AzureStoreManager.getInstance().getIdeStore();
24-
if (StringUtils.isEmpty(ideStore.getProperty(GUIDANCE, GUIDANCE_SHOWN))) {
24+
if (ideStore != null && StringUtils.isEmpty(ideStore.getProperty(GUIDANCE, GUIDANCE_SHOWN))) {
2525
ideStore.setProperty(GUIDANCE, GUIDANCE_SHOWN, String.valueOf(true));
2626
GuidanceViewManager.getInstance().showCoursesView(project);
2727
}

0 commit comments

Comments
 (0)