Binding bean to Form: why "null" in my TextFields?

This is a disturbingly newbie question, but I’ve traced the code and can’t figure it out.

Simple case: I have a bean with some text values, any of which can be null.

When I bind it to a Form using BeanItem, then the word “null” shows up in all the text fields.

I’ve looked through to see where something like String.valueOf(someObject) might be being called, but every place I look in both my and the Vaadin source code, null is checked for.

So, can someone tell me where the String “null” is substituted for null String values in my bean?

Thanks, and my apologies for such a simple question.

Best,
Laird

You can find complete answer
here

Thank you. I would have hunted high and low for that–did, in fact–without success.

I also happened to stumble across the javadoc for the
setNullSettingAllowed() method
which is similarly useful.

Thanks again for a quick response and a massively helpful post.

Best,
Laird