Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrids "Custom Cell Editors" seems to be broke in 6.0p

    Hi,

    we have a list grid with nice "Custom Cell Editor" feature. It's been fine so far but newest 6.0 version came with problems. Previously we had 5.0 (20.10.2015) and there was no problems. However, it still works on production mode (war), but not in classic/super dev modes.

    Here's what we do:
    -Let's copy source code from : http://www.smartclient.com/smartgwt/...m_editing_cell
    -Run it on classic dev mode (with IE)
    -Try to select one of the editors
    -We get:
    [ERROR] [demo] Uncaught exception escaped
    java.lang.NullPointerException: null
    at com.smartgwt.client.widgets.grid.ListGridEditorContext.<init>(ListGridEditorContext.java:23)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293)
    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:299)
    at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:296)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:551)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
    at java.lang.Thread.run(Thread.java:722)

    -Run it on super dev mode
    -Try to select one of the editors
    -We get:
    *13:01:59.934:TMR8:WARN:Log:Uncaught exception escaped: com.google.gwt.core.client.JavaScriptException
    (TypeError) : Cannot read property 'intValue_18_g$' of null
    at ListGridEditorContext_1_g$(demo-0.js@71:233457)
    at <anonymous>(demo-0.js@31:106504)
    at apply_0_g$(demo-0.js@28:10845)
    at entry0_0_g$(demo-0.js@16:10901)
    at getEditorProperties(demo-0.js@14:10881)
    at isc_ListGrid_getEditorType(http://127.0.0.1:8888/demo/sc/module...ds.js@938:1957)
    at isc_ListGrid_getEditItem(http://127.0.0.1:8888/demo/sc/module...ids.js@36:1986)
    at isc_ListGrid_getEditRowItems(http://127.0.0.1:8888/demo/sc/module...ds.js@156:1958)
    at isc_ListGrid_makeEditForm(http://127.0.0.1:8888/demo/sc/module...ids.js@43:1944)
    at isc_ListGrid_showInlineEditor(http://127.0.0.1:8888/demo/sc/module...ids.js@37:1906)

    #2
    I'm also seeing this issue with SmartClient Version: v10.1p_2016-03-20/Pro Deployment (built 2016-03-20).

    Comment


      #3
      We see the problem and it's cause in SGWT - it should be fixed today.

      @stronebranch3 - we're not seeing this same behavior in the corresponding SmartClient sample. Can you confirm where you're seeing it?

      Comment


        #4
        We've made a change to address this - you can test it out in builds dated April 5 and later.

        Comment


          #5
          Isomorphic,

          Just to clarify, I'm using SmartGWT 5.1p (2016-03-20) not SmartClient.

          In classic dev mode on Firefox 24.8.1 ESR, I get the following:

          Code:
          15:04:51.118 [ERROR] [demo] Uncaught exception escaped
          
          java.lang.NullPointerException: null
              at com.smartgwt.client.widgets.grid.ListGridEditorContext.&lt;init&gt;(ListGridEditorContext.java:23)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
              at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
              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:576)
              at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
              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:356)
              at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              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:745)
          In super dev mode on Firefox 24.8.1 ESR, I get the following:

          Code:
          15:17:04.245:TMR0:WARN:Log:Uncaught exception escaped: com.google.gwt.core.client.JavaScriptException
          (TypeError)
           stack: $intValue@http://127.0.0.1:9876/demo/871A07916829D67DD2A65665FB4A9543.cache.js:23574
          ListGridEditorContext_0@http://127.0.0.1:9876/demo/871A07916829D67DD2A65665FB4A9543.cache.js:20809
          $setEditorCustomizer/self_0.getEditorProperties<@http://127.0.0.1:9876/demo/871A07916829D67DD2A65665FB4A9543.cache.js:10399
          apply_0@http://127.0.0.1:9876/demo/871A07916829D67DD2A65665FB4A9543.cache.js:465
          entry0@http://127.0.0.1:9876/demo/871A07916829D67DD2A65665FB4A9543.cache.js:535
          entry_0/<@http://127.0.0.1:9876/demo/871A07916829D67DD2A65665FB4A9543.cache.js:509
          isc_ListGrid_getEditorType@http://127.0.0.1:8888/demo/sc/modules/ISC_Grids.js:1955
          isc_ListGrid_getEditItem@http://127.0.0.1:8888/demo/sc/modules/ISC_Grids.js:1984
          isc_ListGrid_getEditRowItems@http://127.0.0.1:8888/demo/sc/modules/ISC_Grids.js:1956
          isc_ListGrid_makeEditForm@http://127.0.0.1:8888/demo/sc/modules/ISC_Grids.js:1942
          isc_ListGrid_showInlineEditor@http://127.0.0.1:8888/demo/sc/modules/ISC_Grids.js:1905
          isc_ListGrid__startEditing@http://127.0.0.1:8888/demo/sc/modules/ISC_Grids.js:1896
          isc_c_Class_fireCallback@http://127.0.0.1:8888/demo/sc/modules/ISC_Core.js:300
          isc_c_Timer__fireTimeout@http://127.0.0.1:8888/demo/sc/modules/ISC_Core.js:1360
          isc_c_Timer_setTimeout/_6<@http://127.0.0.1:8888/demo/sc/modules/ISC_Core.js:1357
          
           __gwt$exception: <skipped>
           fileName: http://127.0.0.1:9876/demo/871A07916829D67DD2A65665FB4A9543.cache.js
           lineNumber: 23574
           columnNumber: 2: this$static is null
          In super dev mode on Chrome 49, I get the following:

          Code:
          15:25:20.994:TMR4:WARN:Log:Uncaught exception escaped: com.google.gwt.core.client.JavaScriptException
          (TypeError)
           __gwt$exception: <skipped>: Cannot read property 'value_0' of null
              at anonymous()
              at at $intValue()
              at at Object.ListGridEditorContext_0()
              at at Object.<anonymous>()
              at at apply_0()
              at at entry0()
              at at Object.getEditorProperties()
              at at Object.isc_ListGrid_getEditorType [as getEditorType]()
              at at Object.isc_ListGrid_getEditItem [as getEditItem]()
              at at Object.isc_ListGrid_getEditRowItems [as getEditRowItems]()
              at at Object.isc_ListGrid_makeEditForm [as makeEditForm]()
          Thanks.

          Comment


            #6
            Just to reiterate - this is fixed, but a build that includes the change won't be available until April 5.

            Comment


              #7
              Thanks. This appears to be resolved in SmartClient Version: v10.1p_2016-04-05/Pro Deployment (built 2016-04-05).

              Comment


                #8
                Thanks!

                Another small issue with new version: Multi-selecting nodes from TreeGrid no longer work with SHIFT-button...

                Comment


                  #9
                  Originally posted by Stongkin View Post
                  Another small issue with new version: Multi-selecting nodes from TreeGrid no longer work with SHIFT-button...
                  Is that going to be fixed on some day?

                  Comment


                    #10
                    Yes, it's queued, we'll get to it shortly and update here when we do.

                    Comment


                      #11
                      Stongkin This is fixed for builds dated April 27 and later

                      Comment


                        #12
                        Originally posted by Isomorphic View Post
                        Stongkin This is fixed for builds dated April 27 and later
                        Thanks!!

                        Comment

                        Working...
                        X