I am getting a NullPointerException at the modelData.add(i, es) method. I know from debugging that es isn\'t null. I\'m r
NullPointerException
modelData.add(i, es)
es
null
Try
protected List modelData = new ArrayList();