cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-8164) Removing snapshot for a VM whose host is disabled gives a null pointer exception
Date Mon, 19 Jan 2015 06:05:34 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-8164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rohit Yadav reassigned CLOUDSTACK-8164:
---------------------------------------

    Assignee: Abhinandan Prateek

> Removing snapshot for a VM whose host is disabled gives a null pointer exception
> --------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8164
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8164
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.5.0
>            Reporter: Abhinandan Prateek
>            Assignee: Abhinandan Prateek
>             Fix For: 4.5.0
>
>
> tcher] (Work-Job-Executor-45:ctx-bce004ad job-597/job-599) Run VM work job: com.cloud.vm.snapshot.VmWorkDeleteAllVMSnapshots
for VM 3, job origin: 597
> 2015-01-17 00:09:55,762 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-45:ctx-bce004ad
job-597/job-599 ctx-f1671ba3) Execute VM work job: com.cloud.vm.snapshot.VmWorkDeleteAllVMSnapshots{"userId":2,"accountId":2,"vmId":3,"handlerName":"VMSnapshotManagerImpl"}
> 2015-01-17 00:09:55,794 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-45:ctx-bce004ad
job-597/job-599 ctx-f1671ba3) Invocation exception, caused by: java.lang.NullPointerException
> 2015-01-17 00:09:55,794 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-45:ctx-bce004ad
job-597/job-599 ctx-f1671ba3) Rethrow exception java.lang.NullPointerException
> 2015-01-17 00:09:55,794 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-45:ctx-bce004ad
job-597/job-599) Done with run of VM work job: com.cloud.vm.snapshot.VmWorkDeleteAllVMSnapshots
for VM 3, job origin: 597
> 2015-01-17 00:09:55,794 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-45:ctx-bce004ad
job-597/job-599) Unable to complete AsyncJobVO {id:599, userId: 2, accountId: 2, instanceType:
null, instanceId: null, cmd: com.cloud.vm.snapshot.VmWorkDeleteAllVMSnapshots, cmdInfo: rO0ABXNyADBjb20uY2xvdWQudm0uc25hcHNob3QuVm1Xb3JrRGVsZXRlQWxsVk1TbmFwc2hvdHOsl-VRajf8cAIAAUwABHR5cGV0ACdMY29tL2Nsb3VkL3ZtL3NuYXBzaG90L1ZNU25hcHNob3QkVHlwZTt4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7eHAAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAN0ABVWTVNuYXBzaG90TWFuYWdlckltcGxw,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
8796753417514, completeMsid: null, lastUpdated: null, lastPolled: null, created: Sat Jan 17
00:09:53 IST 2015}, job origin:597
> java.lang.NullPointerException
>         at org.apache.cloudstack.storage.helper.VMSnapshotHelperImpl.pickRunningHost(VMSnapshotHelperImpl.java:86)
>         at org.apache.cloudstack.storage.vmsnapshot.DefaultVMSnapshotStrategy.deleteVMSnapshot(DefaultVMSnapshotStrategy.java:194)
>         at com.cloud.vm.snapshot.VMSnapshotManagerImpl.orchestrateDeleteAllVMSnapshots(VMSnapshotManagerImpl.java:773)
>         at com.cloud.vm.snapshot.VMSnapshotManagerImpl.orchestrateDeleteAllVMSnapshots(VMSnapshotManagerImpl.java:1007)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
>         at com.cloud.vm.snapshot.VMSnapshotManagerImpl.handleVmWorkJob(VMSnapshotManagerImpl.java:1014)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at com.sun.proxy.$Proxy197.handleVmWorkJob(Unknown Source)
>         at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:536)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:493)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message