NPE when destroying a vpc network which is deployed with firewall service enabled in vpc offering.
@harikrishna-patnala y travaille déjà.
Depuis le 10/9/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
problem
NPE when destroying a vpc network which is deployed with firewall service enabled in vpc offering.
versions
ACS 4.23
The steps to reproduce the bug
Steps to reproduce the issue
- Create a vpc offering with firewall service enabled
-
Deploy a tier in the vpc network
-
Deploy a vm in the vpc tier
-
Apply firewall rules for a public ip address
-
Destroy/expunge a vm
-
Destroy the tier
-
Destroy the vpc network
Exception message
Screenshot
Logs
2026-09-07 07:14:11,542 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-23:[ctx-ee60323d, job-1148, ctx-02cd9ce1]) (logid:98e01084) Releasing ip IPAddress {"address":"192.168.55.84","dataCenterId":1,"id":4,"uuid":"c1fd45b4-d409-4324-8a99-d6fc5e41c59e"}; sourceNat = false
2026-09-07 07:14:11,570 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-23:[ctx-ee60323d, job-1148]) (logid:98e01084) Unexpected exception while executing org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd java.lang.NullPointerException: Cannot invoke "com.cloud.network.Network.getId()" because "network" is null
at com.cloud.network.IpAddressManagerImpl.applyIpAssociations(IpAddressManagerImpl.java:1283)
at com.cloud.network.IpAddressManagerImpl.disassociatePublicIpAddress(IpAddressManagerImpl.java:828)
at com.cloud.network.vpc.VpcManagerImpl.cleanupVpcResources(VpcManagerImpl.java:2705)
at com.cloud.network.vpc.VpcManagerImpl.destroyVpc(VpcManagerImpl.java:1942)
at com.cloud.network.vpc.VpcManagerImpl.deleteVpc(VpcManagerImpl.java:1901)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
What to do about it?
VPC network should be destroyed without any exception
- Langage dominant
- Java
- Étoiles
- 3.1k
- Forks
- 1.4k
- Merge moyen
- 6 j 20 h
- PR mergées (30 j)
- 27
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de apache/cloudstack
-
bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
apache/cloudstack#14222 ·
-
create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os's Ouvertebug component:kubernetes
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
apache/cloudstack#14180 ·
-
bug component:projects component:UI
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
apache/cloudstack#14070 · 5 commentaires ·
-
component:backup
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
apache/cloudstack#14013 ·
-
KVM agent fails to connect to Ceph RBD storage pool after upgrading Ceph client to Tentacle 20.2.4 Ouvertebug component:ceph
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
apache/cloudstack#13989 · 3 commentaires ·
Toutes les issues de apache/cloudstack
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
checkstyle/test-configs#263 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
Cannot differ own consent and managed consents in My Consents view and detailed consent view. Ouverte1.0.0-alpha2 Type/Improvement
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
wso2/dpdp-accelerator#272 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
apache/rocketmq-dashboard#4860 · 1 commentaire ·