Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

BeanValidation chrashes Application (InvalidValueException)

Volker Börner
6 years ago Jun 30, 2015 8:50am
Matti Tahvonen
6 years ago Jun 30, 2015 10:50am

Hi,

Make your BeanFieldGroup non-buffered before you actually assign the bean to it. Try switching these lines to opposite order:

fg.bindMemberFields(this);
        fg.setBuffered(false); // -> Chrash!

cheers,
matti
 

Volker Börner
6 years ago Jul 01, 2015 11:27am