Announcement Announcement Module
Collapse
No announcement yet.
spring:bind tag problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring:bind tag problem

    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.

  • #2
    I reply to myself))
    The nested Object should be created as new.
    Code:
    public class SomePOJO{
    private NestedObj = new NestedObj();
    }
    Sorry for disturbing You.

    Comment


    • #3
      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?

      Comment

      Working...
      X