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)
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)
Comment