[ https://issues.apache.org/jira/browse/CLOUDSTACK-7947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251616#comment-14251616 ]
ASF subversion and git services commented on CLOUDSTACK-7947: ------------------------------------------------------------- Commit ebf9897293a826d068b57c49c273bf4b9fd7f72e in cloudstack's branch refs/heads/4.3 from Edison Su [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ebf9897 ] CLOUDSTACK-7301, CLOUDSTACK-7947: double check if parent snapshot is removed or not when creating new snapshot, check if parent snapshot is removed or not Reviewed-by: Min (cherry picked from commit bd799653293f9dc257ab68a3b04f6ea769e08e36) Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> Conflicts: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/XenserverSnapshotStrategy.java > 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)