Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-3141 in 2.3.1.
  1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2011
    Posts
    99
    Vote Rating
    0
    LEWJO10@ca.com is on a distinguished road

      0  

    Default (GXT 2.3.0 GA) Grid RowEditor and CheckBoxSelectionModel Null Pointer

    (GXT 2.3.0 GA) Grid RowEditor and CheckBoxSelectionModel Null Pointer


    Version of Ext GWT
    This problem occurs in the recently released GA version of GXT (Ext GWT) 2.3.0.

    Browser Versions
    Internet Explorer 8 / Firefox ESR 17.0.6

    Operating System
    Windows 7 64 bit

    Hardware
    Dell Precision M4500
    8 CPUs – Intel Core i7
    8 GB Memory

    Virtual Machine
    No

    Description
    Using RowEditor and CheckBoxSelectionModel together in the same grid will result in the following null pointer exception when the RowEditor is clicked (invoked).

    java.lang.NullPointerException
    at com.extjs.gxt.ui.client.widget.form.LabelField.setValue(LabelField.java:122)
    at com.extjs.gxt.ui.client.widget.grid.RowEditor.startEditing(RowEditor.java:437)
    at com.extjs.gxt.ui.client.widget.grid.RowEditor.onRowClick(RowEditor.java:803)
    at com.extjs.gxt.ui.client.widget.grid.RowEditor$1.handleEvent(RowEditor.java:246)
    at com.extjs.gxt.ui.client.widget.grid.RowEditor$1.handleEvent(RowEditor.java:1)
    at com.extjs.gxt.ui.client.event.BaseObservable.callListener(BaseObservable.java:178)
    at com.extjs.gxt.ui.client.event.BaseObservable.fireEvent(BaseObservable.java:86)
    at com.extjs.gxt.ui.client.widget.Component.fireEvent(Component.java:456)
    at com.extjs.gxt.ui.client.widget.grid.Grid.onClick(Grid.java:811)
    at com.extjs.gxt.ui.client.widget.grid.Grid.onComponentEvent(Grid.java:496)
    at com.extjs.gxt.ui.client.widget.Component.onBrowserEvent(Component.java:884)
    at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
    at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
    at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    at java.lang.Thread.run(Thread.java:662)

    Run Mode
    Occurs in when deployed to Tomcat (web mode), and when running under Eclipse (dev mode).

    Steps to Reproduce
    The attached file (RowEditorExample.txt) can be used to demonstrate the problem.

    Replace the same class in the Explorer demo app, navigate to Grids > RowEditor Grid, and then click a grid row to invoke the RowEditor to observe exception.

    Thanks,
    John L
    Attached Files

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    433
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    Thanks for reporting the issue. We are tracking it and will update this thread once we make some headway.

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2011
    Posts
    4
    Vote Rating
    0
    jasonharberg is on a distinguished road

      0  

    Default


    This bug seems to be related to Bug 2997

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    433
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    Good catch. EXTGWT-2997 has been fixed and will look to confirm this shortly. Thanks for the update.

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    433
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    This is slated to come out in the next release of 2.3.1 shortly. It is currently in the support svn repository.

  6. #6
    Sencha User
    Join Date
    Jan 2010
    Posts
    13
    Vote Rating
    0
    doright is on a distinguished road

      0  

    Default when is 2.3.1 out please?

    when is 2.3.1 out please?


    I badly need a fix to the above problem and need to know if I can wait til the fix is released, or if I need to write a work-around. (- though that would be tricky)

    thanks,
    Doug