PDA

View Full Version : [r1425] Exception when removing an model from a store



negge
15 Apr 2009, 3:40 AM
I am seeing this error when I remove a model from a store using a SelectionListener on a Grid:


[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (TypeError): Object doesn't support this property or method
number: -2146827850
description: Object doesn't support this property or method
at com.google.gwt.dom.client.Element$.getElementsByTagName$(Native Method)
at com.extjs.gxt.ui.client.widget.grid.GridView.getCell(GridView.java:329)
at com.extjs.gxt.ui.client.widget.grid.GridView.ensureVisible(GridView.java:770)
at com.extjs.gxt.ui.client.widget.grid.GridView.focusCell(GridView.java:294)
at com.extjs.gxt.ui.client.widget.grid.GridSelectionModel.handleMouseDown(GridSelectionModel.java:177)
at com.extjs.gxt.ui.client.widget.grid.GridSelectionModel.handleEvent(GridSelectionModel.java:99)
at com.extjs.gxt.ui.client.event.BaseObservable.fireEvent(BaseObservable.java:100)
at com.extjs.gxt.ui.client.widget.Component.fireEvent(Component.java:455)
at com.extjs.gxt.ui.client.widget.grid.Grid.onMouseDown(Grid.java:606)
at com.extjs.gxt.ui.client.widget.grid.Grid.onComponentEvent(Grid.java:372)
at com.extjs.gxt.ui.client.widget.Component.onBrowserEvent(Component.java:750)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1320)
at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:1299)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1262)I'm not sure exactly what is causing this.

Nathan

sven
15 Apr 2009, 4:41 AM
I just tested this in a little test and removed a row on selecting it. It worked fine. Can you please provide some little testcase?