You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Kevin Heseler <k....@itsmind.com> on 2019/04/03 13:59:29 UTC
NullPointerException when deleting pod
Hi guys,
I have an issue when deleting one of my pods. The UI is loading forever
and after a reload it is still there, when clicking delete this
NullPointerException appears in the management.log.
Currently running 4.12 on Bionic.
2019-04-03 15:25:49,829 DEBUG [c.c.a.ApiServlet]
(qtp858242339-18:ctx-37b10f3b) (logid:a21a8737) ===START=== XXXXXXXXXX
-- GET
command=deletePod&id=9ffb9311-e401-41ca-b0ed-9293d7$0eac7&response=json&_=1554297933677
2019-04-03 15:25:49,910 ERROR [c.c.a.ApiServer]
(qtp858242339-18:ctx-37b10f3b ctx-6dd8759a) (logid:a21a8737) unhandled
exception executing api command: [Ljava.lang.String;@1bd0618a
java.lang.NullPointerException
at
com.cloud.dc.dao.VlanDaoImpl.listVlansForPodByType(VlanDaoImpl.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy98.listVlansForPodByType(Unknown Source)
at
com.cloud.network.NetworkModelImpl.listPodVlans(NetworkModelImpl.java:804)
at
com.cloud.configuration.ConfigurationManagerImpl$1.doInTransactionWithoutResult(ConfigurationManagerImpl.java:1106)
at
com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25)
at
com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:50)
at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
at com.cloud.utils.db.Transaction.execute(Transaction.java:47)
at
com.cloud.configuration.ConfigurationManagerImpl.deletePod(ConfigurationManagerImpl.java:1086)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy124.deletePod(Unknown Source)
at
org.apache.cloudstack.api.command.admin.pod.DeletePodCmd.execute(DeletePodCmd.java:70)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:758)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:582)
at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:310)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:127)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
*cut because of length*
Maybe one of you guys know what is up.
Best,
Kevin
Re: NullPointerException when deleting pod
Posted by Kevin Heseler <k....@itsmind.com>.
Hi,
I will gladly do that, however I cannot reproduce this as of now. New
pods are deleted just fine.
Best,
Kevin
Re: NullPointerException when deleting pod
Posted by Simon Weller <sw...@ena.com.INVALID>.
Hi Kevin,
Can you fill this as a bug please - https://github.com/apache/cloudstack/issues
If you could provide the steps to reproduce this, that would be really helpful as well.
-Si
________________________________
From: Kevin Heseler <k....@itsmind.com>
Sent: Wednesday, April 3, 2019 8:59 AM
To: users@cloudstack.apache.org
Subject: NullPointerException when deleting pod
Hi guys,
I have an issue when deleting one of my pods. The UI is loading forever
and after a reload it is still there, when clicking delete this
NullPointerException appears in the management.log.
Currently running 4.12 on Bionic.
2019-04-03 15:25:49,829 DEBUG [c.c.a.ApiServlet]
(qtp858242339-18:ctx-37b10f3b) (logid:a21a8737) ===START=== XXXXXXXXXX
-- GET
command=deletePod&id=9ffb9311-e401-41ca-b0ed-9293d7$0eac7&response=json&_=1554297933677
2019-04-03 15:25:49,910 ERROR [c.c.a.ApiServer]
(qtp858242339-18:ctx-37b10f3b ctx-6dd8759a) (logid:a21a8737) unhandled
exception executing api command: [Ljava.lang.String;@1bd0618a
java.lang.NullPointerException
at
com.cloud.dc.dao.VlanDaoImpl.listVlansForPodByType(VlanDaoImpl.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy98.listVlansForPodByType(Unknown Source)
at
com.cloud.network.NetworkModelImpl.listPodVlans(NetworkModelImpl.java:804)
at
com.cloud.configuration.ConfigurationManagerImpl$1.doInTransactionWithoutResult(ConfigurationManagerImpl.java:1106)
at
com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25)
at
com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:50)
at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
at com.cloud.utils.db.Transaction.execute(Transaction.java:47)
at
com.cloud.configuration.ConfigurationManagerImpl.deletePod(ConfigurationManagerImpl.java:1086)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy124.deletePod(Unknown Source)
at
org.apache.cloudstack.api.command.admin.pod.DeletePodCmd.execute(DeletePodCmd.java:70)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:758)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:582)
at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:310)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:127)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
*cut because of length*
Maybe one of you guys know what is up.
Best,
Kevin