Liron Aravot has posted comments on this change. Change subject: core: compensate on wrong object leads to NPE ......................................................................
Patch Set 7: (1 inline comment) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmHandler.java Line 219: * @param vm Line 220: * The VM to unlock. Line 221: * @param compensationContext Line 222: * Used to save the old VM status, for compensation purposes. Line 223: */ I agree and mentioned it, as this is used in VmCommand and basically all vms commands it'll be removed in a further patch. this patch is about removing the possible NPE that we have at the moment. Line 224: public static void unlockVm(final VM vm, final CompensationContext compensationContext) { Line 225: TransactionSupport.executeInNewTransaction(new TransactionMethod<Void>() { Line 226: Line 227: @Override -- To view, visit http://gerrit.ovirt.org/9074 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I9e10cbec65d0d9c8e66794a9fecf2e59facfdb45 Gerrit-PatchSet: 7 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liron Aravot <lara...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Liron Aravot <lara...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com> Gerrit-Reviewer: Sharad Mishra <snmis...@linux.vnet.ibm.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches