weizhouapache commented on PR #11389: URL: https://github.com/apache/cloudstack/pull/11389#issuecomment-3285089145
verified OK tested with the steps below - deploy a vm, stop it - create a shared network without services (offering is "Offering for QuickCloud with no services") - start the vm - add the vm to the new network - after 5 minutes, remove the vm from the network without this PR ``` 2025-09-12 10:45:41,936 ERROR [c.c.v.U.VmIpFetchTask] (UserVm-ipfetch-3:[ctx-78f60c21]) (logid:efb0935b) Caught the Exception in VmIpFetchTask java.lang.NullPointerException: Cannot invoke "com.cloud.vm.NicVO.getNetworkId()" because "nicVo" is null ``` with this PR ``` 2025-09-12 12:24:30,120 WARN [c.c.v.U.VmIpFetchTask] (UserVm-ipfetch-2:[ctx-c41dea2f]) (logid:2abe4fd9) Couldn't fetch ip addr, Vm 8 or nic 55 doesn't exists ``` -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org