PDA

View Full Version : [FIXED] TreeTableView.getCellIndex() NumberFormatException



Kutu
18 Sep 2008, 2:08 PM
I've seen this back in the days when GXT 1.1 alpha didn't support GWT 1.5.2



[ERROR] Uncaught exception escaped
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.parseInt(Integer.java:497)
at com.extjs.gxt.ui.client.widget.treetable.TreeTableView.getCellIndex(TreeTableView.java:75)
at com.extjs.gxt.ui.client.widget.treetable.TreeTableItem.onCellMouseOver(TreeTableItem.java:365)
at com.extjs.gxt.ui.client.widget.treetable.TreeTableItem.onMouseOver(TreeTableItem.java:359)
at com.extjs.gxt.ui.client.widget.treetable.TreeTableItem.onComponentEvent(TreeTableItem.java:233)
at com.extjs.gxt.ui.client.widget.tree.Tree.onComponentEvent(Tree.java:439)
at com.extjs.gxt.ui.client.widget.Component.onBrowserEvent(Component.java:655)
at com.extjs.gxt.ui.client.widget.treetable.TreeTable.onBrowserEvent(TreeTable.java:189)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1308)
at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:1287)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.mac.MethodDispatch.invoke(MethodDispatch.java:71)
at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2914)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
Machine:
OSX 1.5, gwt-dev-mac 1.5.2, GXT 1.1-current

darrellmeyer
18 Sep 2008, 7:29 PM
Fixed in SVN.