Search error

I have downloaded Servoy 3.5.1 and am testing it before I put it into production. Here is the problem I found.

I tried to do a search on one of my layouts and I got an search error message back.

java.lang.IllegalArgumentException: Validation failed for ‘labroll’, with value: null

It works fine in Servoy 3.1.7. So I assume that the problem lies with the new version.

Has anyone else experienced this? Is this indeed a bug?

See my posting NULL value validation - Classic Servoy - Servoy Community
I really think that there is a bug with NULL value checks.
I have more problems with NULL value validation since version 3.5.1

I put in a bug request.

column validations are really not happening for find records/states so it seems that somewhere you are setting data on something that you think it is in find but in reallity it isn’t.

Do you have a sample case?

I will update my bug request.

Maybe a case of controller.find() failing for some reason.
Always check if you get into find mode like with the following code:

if ( controller.find() ) {

  // set your find criteria

  controller.search();

} else {

 // find failed

}

Hope this helps.