Results 1 to 2 of 2

Thread: [FIXED] npe from Table.setSelectionModel

  1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    9
    Vote Rating
    0
      0  

    Default [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
      0  

    Default

    Fixed in SVN.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •