1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    9
    Vote Rating
    0
    jayj is on a distinguished road

      0  

    Default [FIXED] npe from Table.setSelectionModel

    [FIXED] npe from Table.setSelectionModel


    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);

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Fixed in SVN.

Thread Participants: 1