[ https://issues.apache.org/jira/browse/CLOUDSTACK-7947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
edison su resolved CLOUDSTACK-7947. ----------------------------------- Resolution: Fixed > Unable to take a snapshot of a volumes > -------------------------------------- > > Key: CLOUDSTACK-7947 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7947 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Storage Controller > Reporter: edison su > Assignee: edison su > Priority: Critical > Fix For: 4.5.0 > > > 2014-08-14 10:31:49,926 DEBUG > [o.a.c.s.d.d.CloudStackPrimaryDataStoreDriverImpl] > (Work-Job-Executor-127:ctx-89498f92 job-18945/job-18946 ctx-1fd165da) Failed > to take snapshot: 1582 > java.lang.NullPointerException > at > org.apache.cloudstack.storage.snapshot.SnapshotObject.getId(SnapshotObject.java:149) > at > org.apache.cloudstack.storage.datastore.ObjectInDataStoreManagerImpl.findObject(ObjectInDataStoreManagerImpl.java:338) > at > org.apache.cloudstack.storage.snapshot.SnapshotObject.getPath(SnapshotObject.java:206) > at > org.apache.cloudstack.storage.to.SnapshotObjectTO.<init>(SnapshotObjectTO.java:60) > at > org.apache.cloudstack.storage.snapshot.SnapshotObject.getTO(SnapshotObject.java:274) > at > org.apache.cloudstack.storage.datastore.driver.CloudStackPrimaryDataStoreDriverImpl.takeSnapshot(CloudStackPrimaryDataStoreDriverImpl.java:258) > at > org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.takeSnapshot(SnapshotServiceImpl.java:204) > at > org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.takeSnapshot(XenserverSnapshotStrategy.java:291) > at > com.cloud.storage.snapshot.SnapshotManagerImpl.takeSnapshot(SnapshotManagerImpl.java:946) > at sun.reflect.GeneratedMethodAccessor412.invoke(Unknown Source) > 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.$Proxy160.takeSnapshot(Unknown Source) > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.takeSnapshot(VolumeServiceImpl.java:1387) -- This message was sent by Atlassian JIRA (v6.3.4#6332)