vaadin-component-factory / combo-box-light

Light ComboBox without lazy loading feature
Other
0 stars 1 forks source link

Accessing the data provider before setting it leads to a NPE (internal issue) #4

Closed stefanuebe closed 1 week ago

stefanuebe commented 1 week ago

The CBL does not initialize an empty data provider internally at construction time. This leads to a NullPointerException when any process calls reset() or access the data provider in any way without a proper null check.

Currently appearing when setting the ItemLabelGenerator or using a custom renderer, without setting any items prior.

TatuLund commented 1 week ago

Fixed in version 2.0.0