Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-1616 in a recent build.
  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    40
    Vote Rating
    1
    liondev is on a distinguished road

      0  

    Default NumberField and setAllowNegative() java.lang.IndexOutOfBoundsException

    NumberField and setAllowNegative() java.lang.IndexOutOfBoundsException


    I am just traying to use a NumberField on a Editor, but when i set setAllowNegative(false) i am getting this stack trace:

    PHP Code:
    19:23:13.941 [ERROR] [pruebasUnable to load module entry point class mx.com.liondev.pruebas.client.Main (see associated exception for details)
    java.lang.IndexOutOfBoundsExceptionIndex45Size11    at java.util.ArrayList.RangeCheck(ArrayList.java:547)    at java.util.ArrayList.remove(ArrayList.java:387)    at com.sencha.gxt.cell.core.client.form.NumberInputCell.setAllowNegative(NumberInputCell.java:99)    at com.sencha.gxt.widget.core.client.form.NumberField.setAllowNegative(NumberField.java:74)    at mx.com.liondev.pruebas.client.EmployeeEditor.<init>(EmployeeEditor.java:50)    at mx.com.liondev.pruebas.client.Main.asWidget(Main.java:218)    at mx.com.liondev.pruebas.client.Main.onModuleLoad(Main.java:345)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)    at java.lang.Thread.run(Thread.java:619

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    88
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    This has been fixed in SVN.

  3. #3
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    This bug has been fixed in the Ext GWT 3.0 Release Candidate. Please upgrade your copy of Ext GWT and try your test case again. While we're confident that we've addressed this issue, please reply if you notice any continued problems after upgrading. Again, thanks for taking the time to report this bug.

Thread Participants: 2