Monday, May 25, 2020

GWT Exception while rendering a SamrtGWT UI

Hi Team,

I am using GWT 2.7.0 and SamrtGWT 12.1 LGPL,

I am getting below exception while rendering one of the screen,

com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)([JavaScript object(9468), JavaScript object(7154), JavaScript object(20211)]): _1 is undefined
    at com
.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:252)
    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:498)
    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.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.invokeNativeVoid(ModuleSpace.java:315)
    at com
.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    at com
.smartgwt.client.widgets.BaseWidget.setProperty(BaseWidget.java)
    at com
.smartgwt.client.widgets.BaseWidget.setAttribute(BaseWidget.java:1194)
    at com
.smartgwt.client.widgets.grid.ListGrid.setFields(ListGrid.java:6523)

In chrome's debug console, it is giving below error,

com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'name' of undefined


Can you help me figure out where exactly the issue is ? SmartGWT's debugger console is not showing any error.

Please note that it is working fine with GWT 2.7.0 and SmartGWT 4.1. I am doing an upgrade where it is failing.

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/fd832598-5435-4feb-a7b8-eaf36d958200%40googlegroups.com.

No comments:

Post a Comment