You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by rz...@apache.org on 2026/03/28 09:23:27 UTC
(storm) branch master updated: Fix NPE in getSupervisorPageInfo for unknown hostnames (#8442)
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/master by this push:
new f911d3038 Fix NPE in getSupervisorPageInfo for unknown hostnames (#8442)
f911d3038 is described below
commit f911d303850d7c5ccbcf783eb377e7fe74858c4e
Author: Julien Nioche <ju...@digitalpebble.com>
AuthorDate: Sat Mar 28 09:23:22 2026 +0000
Fix NPE in getSupervisorPageInfo for unknown hostnames (#8442)
Co-authored-by: Claude Opus 4.6 <no...@anthropic.com>
---
storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java b/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java
index 18c5e5bdf..36baf6c98 100644
--- a/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java
+++ b/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java
@@ -4643,6 +4643,9 @@ public class Nimbus implements Iface, Shutdownable, DaemonCommon {
} else {
supervisorIds = Arrays.asList(superId);
}
+ if (supervisorIds == null) {
+ supervisorIds = Collections.emptyList();
+ }
SupervisorPageInfo pageInfo = new SupervisorPageInfo();
Map<String, Assignment> topoToAssignment = state.assignmentsInfo();
for (String sid : supervisorIds) {