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.

Grid addRow() when Filter has Text -> throws NullPointerException

Shaun Wallace
7 years ago Aug 27, 2015 8:39pm
Teemu Suo-Anttila
7 years ago Aug 28, 2015 8:33am
Shaun Wallace
7 years ago Aug 28, 2015 12:25pm
Teemu Suo-Anttila
7 years ago Aug 28, 2015 12:45pm

Hello,

The issue is not related to Grid specifically but a faulty behaviour in GeneratedPropertyContainer. The underlying container returns null on adding the item and thus leads into a null pointer exception when the item is attempted to access. I posted a ticket for this at https://dev.vaadin.com/ticket/18685 . Thank you for noticing!

//Teemu

Shaun Wallace
7 years ago Aug 28, 2015 1:31pm