org.apache.commons.beanutils.PropertyUtilsBean throws java.lang.NoSuchMethodException. For example run: 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 Foo { private static final String URL = "https://*****:443/api"; public static void main(String[] args) throws ClientProtocolException, ServerException, UnsecuredConnectionAttemptError, IOException { Api api = new Api(URL, "admin@internal", "*****", true); System.out.print(api.getHosts().list().get(0).getRebootAfterInstallation()); } } and you will see: java.lang.NoSuchMethodException: Property 'links' has no setter method in class 'class org.ovirt.engine.sdk.decorators.Host'null at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2138) at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1957) at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:2064) at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:858) at org.ovirt.engine.sdk.mapping.Mapper.excludeExceptions(Mapper.java:91) at org.ovirt.engine.sdk.mapping.Mapper.map(Mapper.java:58) at org.ovirt.engine.sdk.common.CollectionDecorator.unmarshall(CollectionDecorator.java:185) at org.ovirt.engine.sdk.common.CollectionDecorator.list(CollectionDecorator.java:164) at org.ovirt.engine.sdk.common.CollectionDecorator.list(CollectionDecorator.java:137) at org.ovirt.engine.sdk.decorators.Hosts.list(Hosts.java:75) at debugRemove.main(debugRemove.java:15)
build is14
even if we'll file a bug for PropertyUtilsBean, it won't be addressed in any near feature, so i'll provide a workaround in sdk, Ilia, can you please run all your tests and check if the only place where PropertyUtilsBean.setSimpleProperty fails is a 'links' property? thanks.
verified with is15
Closing - RHEV 3.3 Released