You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Srikanteswararao Talluri (JIRA)" <ji...@apache.org> on 2013/03/06 13:36:12 UTC
[jira] [Created] (CLOUDSTACK-1541) NPE while deleting snapshot
:Unexpected exception while executing
org.apache.cloudstack.api.command.user.snapshot.DeleteSnapshotCmd
Srikanteswararao Talluri created CLOUDSTACK-1541:
----------------------------------------------------
Summary: 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
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.<init>(SnapshotCommand.java:56)
at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(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