Yair Zaslavsky has posted comments on this change.

Change subject: api: Support libvirt version for Host in API (#672148)
......................................................................


Patch Set 2: Fails; Do not submit

Alexey -
NPE occurs when you add host (VdsDynamicDaoDbFacadeImpl.save)
At this point - vds.getlibvirt_version() returns Null, so NPE is thrown when 
you try vds.getlibvirt_version().getRpmName().

Please notice how vds.getVersion().getRpmName() does not throw NPE and what you 
need to do in this patch accordingly.

--
To view, visit http://gerrit.ovirt.org/10345
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I24b955e979be57c487e2c21fffee771d1ef745e2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexey Chub <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to