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

problem with Canvas.show() - i get strange stacktrace

$
0
0
I am working on updating my site to work when i use the <doctype html> tag. I get a quite a few issues with layout, but one strange thing that i can't get my head around.

I have a window that i create, add some layouts to, and a there's a button that the user can click on and the window shows.
However, since i added the doctype, i get the following error when i call the show()-method:

Code:

com.google.gwt.core.client.JavaScriptException: (TypeError) @com.smartgwt.client.widgets.Canvas::show()([]): 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
        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.invokeNativeVoid(ModuleSpace.java:304)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
        at com.smartgwt.client.widgets.Canvas.show(Canvas.java)
        at

I have no idea what to do with this. Its just a regular window.

Pointers much appreciated.

Viewing all articles
Browse latest Browse all 4756

Trending Articles