Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SmartGWT 4.1 issue with DrawPane

$
0
0
Hi All,

I downloaded SmartGWT new version(4.1) and using it in our project. I have a scenario where I have written a click handler for a DrawRect object. When I click on this DrawRect, I am asking for a confirmation message (SC.confirm). In the new version, I am getting the folowing error

[ERROR] Uncaught exception escaped
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(8708), JavaScript object(8707), JavaScript object(8718)]): _1.getParentCanvas is not a function at com.google.gwt.dev.shell.BrowserChannelServer.invo keJavascript(BrowserChannelServer.java:249) 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.invokeNativeO bject(ModuleSpace.java:279) at com.google.gwt.dev.shell.JavaScriptHost.invokeNati veObject(JavaScriptHost.java:91) at com.google.gwt.core.client.impl.Impl.apply(Impl.ja va) at com.google.gwt.core.client.impl.Impl.entry0(Impl.j ava:242) at sun.reflect.GeneratedMethodAccessor95.invoke(Unkno wn Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(Meth odAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(Met hodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invok e(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reac tToMessages(BrowserChannelServer.java:293) at com.google.gwt.dev.shell.BrowserChannelServer.proc essConnection(BrowserChannelServer.java:547) at com.google.gwt.dev.shell.BrowserChannelServer.run( BrowserChannelServer.java:364) at java.lang.Thread.run(Thread.java:619)

Can you please suggest what could be the issue?

Thanks in advance.

Viewing all articles
Browse latest Browse all 4756

Trending Articles