Is there any way to prevent NPE when accessing a nested bean using commons-beanutils? Here is my code:
new BeanUtilsBean().getProperty(human, "parent.name");
In this case I want getProperty() to either return empty string ("") when human.getParent() == null or handle it in a way other that throwing an NPE.
 
     
     
     
    