cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanteswararao Talluri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-1541) NPE while deleting snapshot :Unexpected exception while executing org.apache.cloudstack.api.command.user.snapshot.DeleteSnapshotCmd
Date Wed, 06 Mar 2013 12:50:12 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13594666#comment-13594666 ] 

Srikanteswararao Talluri commented on CLOUDSTACK-1541:
------------------------------------------------------

Account cleanup fails as it can not clean up snapshot:

 Failed to cleanup account Acct[33-test-F760TC] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,884 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 33 is needed.
2013-03-06 13:16:09,885 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 34
2013-03-06 13:16:09,896 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[34-test-TX09KJ] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,898 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 34 is needed.
2013-03-06 13:16:09,899 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 35
2013-03-06 13:16:09,912 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[35-test-Y6M86C] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,913 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 35 is needed.
2013-03-06 13:16:09,915 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 37
2013-03-06 13:16:09,925 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[37-test-6MAAKG] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,927 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 37 is needed.
2013-03-06 13:16:09,928 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 38
2013-03-06 13:16:09,941 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[38-test-C1F6Z2] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,942 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 38 is needed.
2013-03-06 13:16:09,944 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 63
2013-03-06 13:16:09,955 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[63-test-7VB1LZ] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,956 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 63 is needed.
2013-03-06 13:16:09,958 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 75
2013-03-06 13:16:09,968 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[75-test-U1ZLAY] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,970 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 75 is needed.
2013-03-06 13:16:09,971 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 83
2013-03-06 13:16:09,982 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[83-test-FEBHVL] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,984 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 83 is needed.
2013-03-06 13:16:09,985 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 95
2013-03-06 13:16:09,996 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[95-test-G63WUF] due to
java.lang.NullPointerException
        at com.cloud.agent.api.SnapshotCommand.<init>(SnapshotCommand.java:56)
        at com.cloud.agent.api.DeleteSnapshotBackupCommand.<init>(DeleteSnapshotBackupCommand.java:89)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.deleteSnapshotDirsForAccount(SnapshotManagerImpl.java:1067)
        at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy258.deleteSnapshotDirsForAccount(Unknown Source)
        at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:536)
        at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1397)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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 13:16:09,997 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 95 is needed.
2013-03-06 13:16:10,000 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Found 0 disabled accounts to cleanup
2013-03-06 13:16:10,001 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Found 0 inactive domains to cleanup
2013-03-06 13:16:10,002 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Found 0 disabled projects to cleanup
2013-03-06 13:16:10,106 DEBUG [agent.transport.Request] (Timer-21:null) Seq 11-1356468684: Sending  { Cmd , MgmtId: 7367009763457, via: 11, Ver: v1, Flags: 100011, [{"storage.DownloadProgressCommand":{"jobId":"43451ee4-a7b8-4bdc-b737-a00b626d6897","request":"GET_STATUS","hvm":true,"description":"Test ISO","maxDownloadSizeInBytes":53687091200,"id":218,"resourceType":"TEMPLATE","url":"http://iso.linuxquestions.org/download/504/1819/http/gd4.tuwien.ac.at/dsl-4.4.10.iso","format":"ISO","accountId":89,"name":"218-89-889a1df9-0510-3919-97fe-9884774cc646","secUrl":"nfs://10.147.28.7:/export/home/automation/adv/secondary","wait":0}}] }
2013-03-06 13:16:10,146 DEBUG [agent.transport.Request] (AgentManager-Handler-7:null) Seq 11-1356468684: Processing:  { Ans: , MgmtId: 7367009763457, via: 11, Ver: v1, Flags: 10, [{"storage.DownloadAnswer":{"jobId":"43451ee4-a7b8-4bdc-b737-a00b626d6897","downloadPct":41,"errorString":" ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/SecStorage/5bbd42c9-5179-37ea-aa69-eee554668e99/template/tmpl/89/218/dnld487899030404479216tmp_","templateSize":0,"templatePhySicalSize":0,"result":false,"details":" ","wait":0}}] }
2013-03-06 13:16:10,286 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===START===  10.150.16.252 -- GET  command=listStoragePools&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&page=1&pagesize=1&_=1362574005967
2013-03-06 13:16:10,302 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===END===  10.150.16.252 -- GET  command=listStoragePools&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&page=1&pagesize=1&_=1362574005967
2013-03-06 13:16:10,559 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===START===  10.150.16.252 -- GET  command=listHosts&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&type=SecondaryStorage&page=1&pagesize=1&_=1362574006537
2013-03-06 13:16:10,568 DEBUG [api.query.QueryManagerImpl] (catalina-exec-25:null) >>>Searching for hosts>>>
2013-03-06 13:16:10,575 DEBUG [api.query.QueryManagerImpl] (catalina-exec-25:null) >>>Generating Response>>>
2013-03-06 13:16:10,578 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===END===  10.150.16.252 -- GET  command=listHosts&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&type=SecondaryStorage&page=1&pagesize=1&_=1362574006537
2013-03-06 13:16:10,778 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===START===  10.150.16.252 -- GET  command=listSystemVms&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&page=1&pagesize=1&_=1362574006811
2013-03-06 13:16:10,844 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===END===  10.150.16.252 -- GET  command=listSystemVms&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&page=1&pagesize=1&_=1362574006811
2013-03-06 13:16:11,025 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START===  10.150.16.252 -- GET  command=listHosts&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&page=1&pageSize=20&type=routing&listAll=true&_=1362574006923
2013-03-06 13:16:11,034 DEBUG [api.query.QueryManagerImpl] (catalina-exec-8:null) >>>Searching for hosts>>>
2013-03-06 13:16:11,042 DEBUG [api.query.QueryManagerImpl] (catalina-exec-8:null) >>>Generating Response>>>
2013-03-06 13:16:11,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===END===  10.150.16.252 -- GET  command=listHosts&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&page=1&pageSize=20&type=routing&listAll=true&_=1362574006923
2013-03-06 13:16:11,239 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===START===  10.150.16.252 -- GET  command=listRouters&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&projectid=-1&page=1&pagesize=1&_=1362574007065
2013-03-06 13:16:11,253 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===END===  10.150.16.252 -- GET  command=listRouters&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&projectid=-1&page=1&pagesize=1&_=1362574007065
2013-03-06 13:16:11,462 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===START===  10.150.16.252 -- GET  command=listRouters&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&listAll=true&page=1&pagesize=1&_=1362574007475
2013-03-06 13:16:11,484 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===END===  10.150.16.252 -- GET  command=listRouters&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&listAll=true&page=1&pagesize=1&_=1362574007475
2013-03-06 13:16:11,568 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-294:null) Seq 2-1564149455: Response Received:
2013-03-06 13:16:11,569 DEBUG [agent.transport.Request] (DirectAgent-294:null) Seq 2-1564149455: Processing:  { Ans: , MgmtId: 7367009763457, via: 2, Ver: v1, Flags: 0, [{"routing.IpAssocAnswer":{"results":["10.147.53.12 - success","10.147.53.139 - success"],"result":true,"wait":0}}] }
2013-03-06 13:16:11,569 DEBUG [agent.transport.Request] (Network-Scavenger-1:null) Seq 2-1564149455: Received:  { Ans: , MgmtId: 7367009763457, via: 2, Ver: v1, Flags: 0, { IpAssocAnswer } }
2013-03-06 13:16:11,571 DEBUG [cloud.network.NetworkManagerImpl] (Network-Scavenger-1:null) Releasing 0 firewall egress rules for network id=225 as a part of shutdownNetworkRules
2013-03-06 13:16:11,571 DEBUG [network.firewall.FirewallManagerImpl] (Network-Scavenger-1:null) There are no rules to forward to the network elements
2013-03-06 13:16:11,572 DEBUG [cloud.network.NetworkManagerImpl] (Network-Scavenger-1:null) Releasing 0 Network ACLs for network id=225 as a part of shutdownNetworkRules
2013-03-06 13:16:11,572 DEBUG [network.firewall.FirewallManagerImpl] (Network-Scavenger-1:null) There are no rules to forward to the network elements
2013-03-06 13:16:11,574 DEBUG [network.rules.RulesManagerImpl] (Network-Scavenger-1:null) Found 0 static nat rules to apply for network id 225
2013-03-06 13:16:11,594 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (Network-Scavenger-1:null) Applying ip association in network Ntwk[225|Guest|8]
2013-03-06 13:16:11,620 DEBUG [agent.transport.Request] (Network-Scavenger-1:null) Seq 2-1564149459: Sending  { Cmd , MgmtId: 7367009763457, via: 2, Ver: v1, Flags: 100001, [{"routing.IpAssocCommand":{"ipAddresses":[{"accountId":34,"publicIp":"10.147.53.12","sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":true,"vlanId":"53","vlanGateway":"10.147.53.1","vlanNetmask":"255.255.255.0","vifMacAddress":"06:0c:10:00:00:0d","networkRate":200,"trafficType":"Public"},{"accountId":34,"publicIp":"10.147.53.139","sourceNat":false,"add":false,"oneToOneNat":false,"firstIP":false,"vlanId":"53","vlanGateway":"10.147.53.1","vlanNetmask":"255.255.255.0","vifMacAddress":"06:53:4c:00:00:8c","networkRate":200,"trafficType":"Public"}],"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.ip":"169.254.2.99","router.name":"r-45-QA"},"wait":0}}] }
2013-03-06 13:16:11,621 DEBUG [agent.transport.Request] (Network-Scavenger-1:null) Seq 2-1564149459: Executing:  { Cmd , MgmtId: 7367009763457, via: 2, Ver: v1, Flags: 100001, [{"routing.IpAssocCommand":{"ipAddresses":[{"accountId":34,"publicIp":"10.147.53.12","sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":true,"vlanId":"53","vlanGateway":"10.147.53.1","vlanNetmask":"255.255.255.0","vifMacAddress":"06:0c:10:00:00:0d","networkRate":200,"trafficType":"Public"},{"accountId":34,"publicIp":"10.147.53.139","sourceNat":false,"add":false,"oneToOneNat":false,"firstIP":false,"vlanId":"53","vlanGateway":"10.147.53.1","vlanNetmask":"255.255.255.0","vifMacAddress":"06:53:4c:00:00:8c","networkRate":200,"trafficType":"Public"}],"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.ip":"169.254.2.99","router.name":"r-45-QA"},"wait":0}}] }
2013-03-06 13:16:11,621 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-327:null) Seq 2-1564149459: Executing request
2013-03-06 13:16:11,678 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) ===START===  10.150.16.252 -- GET  command=listCapacity&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&_=1362574007706
2013-03-06 13:16:11,719 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) ===END===  10.150.16.252 -- GET  command=listCapacity&response=json&sessionkey=nim7Rhs%2FlbaaD8hb%2FiIRq%2BkKgDY%3D&_=1362574007706
2013-03-06 13:16:11,798 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-327:null) Found a network called VLAN-4fc7748a-f065-7c2f-11b9-864b1ea3a9fb-53 on host=10.147.40.17;  Network=23f2a96d-2d83-10d0-a13e-9bb1b46ca276; pif=daca0d08-2cf5-fd68-1f22-f620a302acb1
2013-03-06 13:16:12,075 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-173:null) Found a network called VLAN-4fc7748a-f065-7c2f-11b9-864b1ea3a9fb-53 on host=10.147.40.17;  Network=23f2a96d-2d83-10d0-a13e-9bb1b46ca276; pif=daca0d08-2cf5-fd68-1f22-f620a302acb1
2013-03-06 13:16:12,261 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-6:null) Ping from 8

                
> 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

Mime
View raw message