From 326adb0fa2223b6c1de26af855b00ed8d15eb822 Mon Sep 17 00:00:00 2001 From: Fred Bricon Date: Wed, 23 Aug 2023 23:19:50 +0200 Subject: [PATCH] fix: handle Quarkus streams with null status Signed-off-by: Fred Bricon --- .../intellij/quarkus/module/QuarkusModuleInfoStep.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/redhat/devtools/intellij/quarkus/module/QuarkusModuleInfoStep.java b/src/main/java/com/redhat/devtools/intellij/quarkus/module/QuarkusModuleInfoStep.java index 7d938606e..0499c6b4c 100644 --- a/src/main/java/com/redhat/devtools/intellij/quarkus/module/QuarkusModuleInfoStep.java +++ b/src/main/java/com/redhat/devtools/intellij/quarkus/module/QuarkusModuleInfoStep.java @@ -141,7 +141,9 @@ protected void customizeCellRenderer(@NotNull JList lis } else { this.append(stream.getPlatformVersion(), SimpleTextAttributes.REGULAR_ATTRIBUTES, true); } - this.append(" ").append(stream.getStatus()); + if (stream.getStatus() != null) { + this.append(" ").append(stream.getStatus()); + } } }); formBuilder.addLabeledComponent("Quarkus stream:", streamComboBox);