BeanItemContainer and null values

Hi,

I am using a BeanItemContainer as a datasource in a table. I would like to ask what is the expected behaviour when null values are set in the bean. I have found that when adding a NestedContainerProperty, if null values are there, an internal NullPointerException is thrown. Is this a bug? Reordering crashes as well.

Thanks

If I remember correctly, it should be documented in javadoc that nulls are not supported on intermediate levels for nested properties.

There is an enhancement request (
#7229
) for adding support for getting a null as the return value in those cases.