View Full Version : [FIXED] NPE when rendering grid checkbox with Boolean Null in ModelData

25 Jun 2009, 12:22 PM
I am adding a new row in my editor grid which has null values for most of the model data. One of them is a Boolean, which I am rendering using a checkbox. I get a null Pointer exception here:

Class CheckColumnConfig

protected String getCheckState(ModelData model, String property, int rowIndex,
int colIndex) {
Boolean v = model.get(property);
String on = v ? "-on" : "";
return on;

Can this be changed so that null yields an unchecked box?


25 Jun 2009, 1:27 PM
Fixed in SVN.