robfletcher/grails-fields — Issue #37: NullPointerException in BeanPropertyAccessorImpl.groovy
Author: sbglasius
Created: 2012-02-08 10:41:20+00:00
State: open

In methode isRequired, I get a NPE if I reference a nested property on a bean, and the property with the nested value is null, eg:

and user.central is NULL

I managed to fix it by using safe-reference on the constraints-variable