Results 1 to 3 of 3

Thread: NumberField and setAllowNegative() java.lang.IndexOutOfBoundsException

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-1616 in 3.0 RC.
  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    40
    Vote Rating
    1
      0  

    Default 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 User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Vote Rating
    93
      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
      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.

Posting Permissions

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