I am getting the following exception from Table.setSelectionModel:
java.lang.NullPointerException
at com.extjs.gxt.ui.client.widget.table.Table.setSelectionModel(Table.java:509)
The code in setSelectionModel should be changed from:
public void setSelectionModel(RowSelectionModel sm) {
if (sm != null) {
this.sm.unbind(this);
to:
public void setSelectionModel(RowSelectionModel sm) {
if (this.sm != null) {
this.sm.unbind(this);