Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCA4E100EE for ; Wed, 5 Jun 2013 19:45:01 +0000 (UTC) Received: (qmail 7397 invoked by uid 500); 5 Jun 2013 19:45:00 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 7355 invoked by uid 500); 5 Jun 2013 19:45:00 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 7297 invoked by uid 99); 5 Jun 2013 19:45:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 19:45:00 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Alena.Prokharchyk@citrix.com designates 66.165.176.89 as permitted sender) Received: from [66.165.176.89] (HELO SMTP.CITRIX.COM) (66.165.176.89) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 19:44:55 +0000 X-IronPort-AV: E=Sophos;i="4.87,809,1363132800"; d="scan'208";a="29482820" Received: from sjcpex01cl01.citrite.net ([10.216.14.143]) by FTLPIPO01.CITRIX.COM with ESMTP/TLS/AES128-SHA; 05 Jun 2013 19:44:34 +0000 Received: from SJCPEX01CL02.citrite.net ([169.254.2.64]) by SJCPEX01CL01.citrite.net ([169.254.1.43]) with mapi id 14.02.0342.003; Wed, 5 Jun 2013 12:44:33 -0700 From: Alena Prokharchyk To: Wei Zhou , "dev@cloudstack.apache.org" Subject: vm fails to destroy in the latest Thread-Topic: vm fails to destroy in the latest Thread-Index: AQHOYiUZqEHt08e5uEG9Rp/C4PvrQQ== Date: Wed, 5 Jun 2013 19:44:32 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.0.120402 x-originating-ip: [10.216.48.12] Content-Type: text/plain; charset="us-ascii" Content-ID: <45122B7D6DCC444AAD7E6A67C307BADA@citrix.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Wei,=20 In the latest DestroyVirtualMachine call fails due to ClassCastException at com.cloud.vm.UserVmManagerImpl.prepareStop(UserVmManagerImpl.java:4712): ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-2:job-55) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.DestroyVMCmd java.lang.ClassCastException: com.cloud.vm.VMInstanceVO$$EnhancerByCGLIB$$8c74c3ed cannot be cast to com.cloud.vm.UserVmVO at com.cloud.vm.UserVmManagerImpl.prepareStop(UserVmManagerImpl.java:4712) at=20 com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImp l.java:1168) at=20 com.cloud.vm.VirtualMachineManagerImpl.destroy(VirtualMachineManagerImpl.ja va:1285) Could you please fix it as the problem was introduced with your commit 15265479f644f2745804af456eef9767a7297f01? Thanks, Alena. =20