Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D4B710D66 for ; Thu, 12 Sep 2013 00:46:52 +0000 (UTC) Received: (qmail 68211 invoked by uid 500); 12 Sep 2013 00:46:52 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 68170 invoked by uid 500); 12 Sep 2013 00:46:52 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 68131 invoked by uid 500); 12 Sep 2013 00:46:52 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 68073 invoked by uid 99); 12 Sep 2013 00:46:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 00:46:52 +0000 Date: Thu, 12 Sep 2013 00:46:52 +0000 (UTC) From: "Alena Prokharchyk (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-4574) MS:NPE: Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.DestroyVMCmd java.lang.NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765026#comment-13765026 ] Alena Prokharchyk commented on CLOUDSTACK-4574: ----------------------------------------------- 2013-08-30 11:39:25,092 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-41:job-74 = [ 4742fbaa-bcf2-4d79-a0d1-148acb3f55b6 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.DestroyVMCmd java.lang.NullPointerException at com.cloud.capacity.CapacityManagerImpl.releaseVmCapacity(CapacityManagerImpl.java:187) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at com.cloud.capacity.CapacityManagerImpl.postStateTransitionEvent(CapacityManagerImpl.java:718) at com.cloud.capacity.CapacityManagerImpl.postStateTransitionEvent(CapacityManagerImpl.java:101) at com.cloud.utils.fsm.StateMachine2.transitTo(StateMachine2.java:117) at com.cloud.vm.VirtualMachineManagerImpl.stateTransitTo(VirtualMachineManagerImpl.java:1345) at com.cloud.vm.VirtualMachineManagerImpl.destroy(VirtualMachineManagerImpl.java:1376) at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.destroyVirtualMachine(VMEntityManagerImpl.java:259) at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.destroy(VirtualMachineEntityImpl.java:225) at com.cloud.vm.UserVmManagerImpl.destroyVm(UserVmManagerImpl.java:3450) at com.cloud.vm.UserVmManagerImpl.destroyVm(UserVmManagerImpl.java:1986) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.vm.DestroyVMCmd.execute(DestroyVMCmd.java:100) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) > MS:NPE: Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.DestroyVMCmd java.lang.NullPointerException > ---------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4574 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4574 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: API, Management Server > Affects Versions: 4.2.1 > Environment: VMWare > Reporter: Parth Jagirdar > Attachments: destroyVM.txt > > > NPE while attempting to destroy a VM. > VM successfully gets destroyed but raises NPE in Logs. > Logs attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira