Build is5 Please run something like: import java.io.IOException; import org.apache.http.client.ClientProtocolException; import org.ovirt.engine.sdk.Api; import org.ovirt.engine.sdk.exceptions.ServerException; import org.ovirt.engine.sdk.exceptions.UnsecuredConnectionAttemptError; public class addVmdebug { private static final String URL = "https://vm-161-147.scl.lab.tlv.redhat.com:443/api"; public static void main(String[] args) throws ClientProtocolException, ServerException, UnsecuredConnectionAttemptError, IOException { Api api = new Api(URL, "admin@internal", "123456", null, 443, null, null, true, null, false); System.out.printf("Value of getRebootAfterInstallation() is %s", api.getHosts().list().get(0).getRebootAfterInstallation()); } } and see the output: Value of getRebootAfterInstallation() is false
the bug is in Apache's BeanUtils package, will try to find workaround.
(In reply to Michael Pasternak from comment #1) > the bug is in Apache's BeanUtils package, will try to find workaround. btw it's true for any property that returns reference type not just getRebootAfterInstallation()
Illia, What is the version of BeanUtils you have installed?
apache-commons-beanutils-1.8.3-10.redhat_2.ep6.el6.noarch
(In reply to Ilia Meerovich from comment #4) > apache-commons-beanutils-1.8.3-10.redhat_2.ep6.el6.noarch i see that apache-commons-beanutils-1.8.3-12.redhat_3.2.ep6.el6 already available, can you please try reproducing this bug using it? thanks.
most resent version in rhn channel is: apache-commons-beanutils-1.8.3-10.redhat_2.ep6.el6:0.noarch
(In reply to Ilia Meerovich from comment #6) > most resent version in rhn channel is: > apache-commons-beanutils-1.8.3-10.redhat_2.ep6.el6:0.noarch i know, but we can promote 1.8.3-12 if it works for you (this why i've asked to check)
Host.getRebootAfterInstallation() returns null in is14.
Closing - RHEV 3.3 Released