$MethodException when using beanContaine

Hi All,

i use Vaadin 7.1.0.

I show my Person entities in table with BeanItemContainer. For the purpose of showing nested property Location in table i added beanContainer.addNestedContainerProperty(“”). But i started to get errors. Any idea?

Exceptions i get…

Caused by: com.vaadin.ui.Table$CacheUpdateException: Error during Table cache update. Additional causes not shown.
at com.vaadin.ui.Table.maybeThrowCacheUpdateExceptions(
at com.vaadin.ui.Table.refreshRenderedCells(
at com.vaadin.ui.Table.refreshRowCache(
at com.vaadin.ui.Table.containerItemSetChange(

Caused by:$MethodException
at com.vaadin.ui.Table.formatPropertyValue(
at com.vaadin.ui.Table.getPropertyValue(
at com.vaadin.ui.Table.parseItemIdToCells(
at com.vaadin.ui.Table.getVisibleCellsNoCache(
at com.vaadin.ui.Table.refreshRenderedCells(
… 47 more
Caused by: java.lang.NullPointerException
at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
… 52 more

Probably your location is null. As indicated in the javadoc for nested properties, the current version of NestedMethodProperty does not support that.

There is a patch (currently in code review for Vaadin 7.2,
) that would add support for null intermediate property values of nested properties.

I realized that it occurs when location property of person is null. But my beans have null nested beans. Is there a way for null properties? For example if my description is “” and location is null, it returns null, etc…

I need that patch. When can we have it as mavenized?