I get org.springframework.beans.NullValueInNestedPathExc eption.
I want to bind path like bean.property(Object).property(ofObject) but i get above exception. I used spring:nestedPath tag and Oject is null.
Any ideas?
Thank for help.
I get org.springframework.beans.NullValueInNestedPathExc eption.
I want to bind path like bean.property(Object).property(ofObject) but i get above exception. I used spring:nestedPath tag and Oject is null.
Any ideas?
Thank for help.
I reply to myself))
The nested Object should be created as new.
Sorry for disturbing You.Code:public class SomePOJO{ private NestedObj = new NestedObj(); }
Hi Sebryk,
I am having the same problem, is it a requirement that the nested object is instantiated? Is that the same for java.util.Set's for instance?