Return-Path: X-Original-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A0A24DAF9 for ; Thu, 7 Mar 2013 19:20:24 +0000 (UTC) Received: (qmail 75507 invoked by uid 500); 7 Mar 2013 19:20:22 -0000 Delivered-To: apmail-incubator-cloudstack-issues-archive@incubator.apache.org Received: (qmail 75482 invoked by uid 500); 7 Mar 2013 19:20:22 -0000 Mailing-List: contact cloudstack-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-issues@incubator.apache.org Received: (qmail 75418 invoked by uid 99); 7 Mar 2013 19:20:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 19:20:22 +0000 Date: Thu, 7 Mar 2013 19:20:22 +0000 (UTC) From: "Chip Childers (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-1541) NPE while deleting snapshot :Unexpected exception while executing org.apache.cloudstack.api.command.user.snapshot.DeleteSnapshotCmd 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-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chip Childers resolved CLOUDSTACK-1541. --------------------------------------- Resolution: Fixed Applied to 4.1: commit e942df93e6915d103f80efa014295d040fb23ba6 Author: Deepti Dohare Date: Thu Mar 7 18:26:39 2013 +0530 CLOUDSTACK-1541 NPE while deleting snapshots > NPE while deleting snapshot :Unexpected exception while executing org.apache.cloudstack.api.command.user.snapshot.DeleteSnapshotCmd > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1541 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1541 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Snapshot > Affects Versions: 4.1.0 > Environment: advanced zone > hypervisor:Xenserver > mgmt server: RHEL6.3 > Reporter: Srikanteswararao Talluri > Assignee: deepti dohare > Priority: Critical > Fix For: 4.1.0 > > > Steps to reproduce: > ============== > Take a snapshot of a volume and try to delete it. > [cloud.api.ApiServlet] (catalina-exec-22:null) === END=== 10.150.16.252 -- GET command=deleteSnapshot&id=40cc06c1-eb8c-47a5-84fb- 4cac7e24dd2e&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&_=136 2572870972 > 2013-03-06 12:57:15,073 DEBUG [storage.snapshot.SnapshotManagerImpl] (Job-Execut or-9:job-428) Calling deleteSnapshot for snapshotId: 14 > 2013-03-06 12:57:15,096 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-9: job-428) Unexpected exception while executing org.apache.cloudstack.api.command. user.snapshot.DeleteSnapshotCmd > java.lang.NullPointerException > at com.cloud.agent.api.SnapshotCommand.(SnapshotCommand.java:56) > at com.cloud.agent.api.DeleteSnapshotBackupCommand.(DeleteSnapshot BackupCommand.java:89) > at com.cloud.storage.snapshot.SnapshotManagerImpl.destroySnapshotBackUp( SnapshotManagerImpl.java:912) > at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotInternal (SnapshotManagerImpl.java:843) > at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshot(Snapsho tManagerImpl.java:789) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.p roceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.event.ActionEventInterceptor.AroundAnyMethod(ActionEventInt erceptor.java:53) > at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMet hodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMet hod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAro undAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:161) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.p roceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(Transact ionContextBuilder.java:37) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMet hodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMet hod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAro undAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invok e(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:202) > at $Proxy258.deleteSnapshot(Unknown Source) > at org.apache.cloudstack.api.command.user.snapshot.DeleteSnapshotCmd.exe cute(DeleteSnapshotCmd.java:96) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) > at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocatio n.invokeJoinpoint(Cglib2AopProxy.java:689) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.p roceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(Transact ionContextBuilder.java:37) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMet hodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMet hod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAro undAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invok e(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterc eptor.intercept(Cglib2AopProxy.java:622) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:43 7) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47 1) > 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) > 2013-03-06 12:57:15,109 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-9: job-428) Complete async job-428, jobStatus: 2, resultCode: 530, result: Error Co de: 530 Error text: null -- 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