1. #1
    Ext User
    Join Date
    Sep 2008
    Posts
    18
    Vote Rating
    0
    jfisher is on a distinguished road

      0  

    Default GRID ArrayIndexOutOfBoundsException

    GRID ArrayIndexOutOfBoundsException


    A ArrayIndexOutOfBoundsException is generated when a Grid Store has no values. For instance, I configure Column headers, but the store has no data. The Grid renders itself with headers, looks ok, no data (which is what is expected), but when a column is clicked on (ie to sort) then a ArrayIndexOutOfBoundsExcpetion is generated (uncaught exception).

    Take a look at the samples code for GRID, choose any, but have store have no values (null).

    How can excpetion be caught, or is this a bug in class?

    John

  2. #2
    Ext User
    Join Date
    Sep 2008
    Posts
    18
    Vote Rating
    0
    jfisher is on a distinguished road

      0  

    Default Additional Information

    Additional Information


    It seems thsi error is generated when I mouse over a column in a grid.

    [ERROR] Uncaught exception escaped
    java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.ArrayList.get(ArrayList.java:323)
    at com.extjs.gxt.ui.client.widget.grid.ColumnModel.isMenuDisabled(ColumnModel.java:297)
    at com.extjs.gxt.ui.client.widget.grid.GridView.handleHdOver(GridView.java:1444)
    at com.extjs.gxt.ui.client.widget.grid.GridView.access$5(GridView.java:1438)
    at com.extjs.gxt.ui.client.widget.grid.GridView$7.onBrowserEvent(GridView.java:947)
    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.GeneratedMethodAccessor29.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.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126)
    at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
    at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
    at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
    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)

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

      0  

    Default


    I have not been able to reproduce this issue (tried empty stores). If you are still seeing the exception, can you post sample code?

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar