Description of problem: NullPointerException during canDoAction of UpdateVmCommand when isBalloonEnabled is null. Probably related to http://gerrit.ovirt.org/#/c/22055/ It reproduces when calling updateVm via REST api, and when balloonEnabled is not initialized (not passed), so it remains null. Either a validation is missing, or a default value for that property in the backend. The cause of this exception is that in VmManagementParametersBase the balloonEnabled property was changed from boolean to Boolean. Hence, since it's an object and not a primitive, it has now 3 states: null, true, false. When it is null, passing it to checkPciAndIdeLimit method that accepts boolean causes autoboxing, and autoboxing on null produces NullPointerException. It influences rbovirt tests that crash because they get 500 server error from ovirt. But it can of course influence more scenarios as well. relevant stacktrace: 2014-06-26 18:55:39,053 ERROR [org.ovirt.engine.core.bll.UpdateVmCommand] (http--0.0.0.0-8080-5) [133c7f7] Error during CanDoActionFailure.: java.lang.NullPointerException at org.ovirt.engine.core.bll.UpdateVmCommand.isValidPciAndIdeLimit(UpdateVmCommand.java:562) [bll.jar:] at org.ovirt.engine.core.bll.UpdateVmCommand.canDoAction(UpdateVmCommand.java:437) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.internalCanDoAction(CommandBase.java:724) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:324) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:426) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:405) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:363) [bll.jar:]
raising priority assuming its a regression.
Please note that this did not get to 3.4 branch since the regression has been introduced by http://gerrit.ovirt.org/#/c/22055/ and it's 3.4 backport http://gerrit.ovirt.org/#/c/25049/ is still review progress.
confirmed with Alissa the original test was on master, no 3.4 backport needed
verified in ovirt-rc1
RHEV-M 3.5.0 has been released