From Spring Projects Issue Tracker
Beans:
public class JavaBean {
private NestedBean nested;
}
public class NestedBean {
private String foo;
private List<NestedBean> list;
private Map<String, NestedBean> map;
}
Bind:
http://localhost:8080/mvc-showcase/convert/bean?nested.foo=bar&nested.list[0].foo=baz&nested.map[key].list[0].foo=bip
Exception:
NullValueInNestedPathException: Invalid property 'nested.map[key]' of bean class [org.springframework.samples.mvc.convert.JavaBean]: Could not determine property type for auto-growing a default value
Use a
LazyMapas follow:Bean: