setting a String property to null causes built-in length validation to fail

a nullpointerexception occurs in the generated Java: prop.length()

Submitted by Danny Groenewegen on 16 September 2011 at 18:10

On 16 September 2011 at 18:10 Danny Groenewegen tagged 1.2.9

On 24 February 2012 at 17:02 Danny Groenewegen removed tag 1.2.9

On 24 February 2012 at 17:02 Danny Groenewegen tagged 1.3.0

On 15 January 2013 at 14:32 Eelco Visser commented:

When does this happen?


On 17 September 2013 at 14:36 Elmer van Chastelet commented:

Trying to reproduce this issue, but it won’t trigger when:

  • assigning null to a String property in a new entity which gets saved, all done in action code
  • assigning a null string variable to a String property in a new entity which gets saved, all done in action code

Any pointers for reproducing this issue?

Log in to post comments