winterhazel commented on code in PR #9074:
URL: https://github.com/apache/cloudstack/pull/9074#discussion_r1965550774
##########
server/src/main/java/com/cloud/server/ManagementServerImpl.java:
##########
@@ -1606,10 +1602,10 @@ public Ternary<Pair<List<? extends Host>, Integer>,
List<? extends Host>, Map<Ho
_dpMgr.reorderHostsByPriority(plan.getHostPriorities(), suitableHosts);
Review Comment:
I'm getting a NPE here when opening the migration pop-up because
`suitableHosts` is `null` (no hosts were found for allocation). Need to check
whether `suitableHosts` is `null` before proceeding with the reorder.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]