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

Invalid Argument Exception from setDrawPane

$
0
0
Hi Team,

I am using GWT SDK 2.4.0 and Smartgwt 3.0.

In my application I have page where I need to load different images based on the event on same layout.
So, I am creating new DrawPane and new DrawImage objects every time and adding it to the same layout by clearing old content.

Issue : when number of images reaches some limit, i am getting UmbrellaException as shown below.

Caused by: java.lang.Throwable: (Error): Invalid argument.
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.smartgwt.client.widgets.drawing.DrawPane.create(DrawPane.java)
at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:361)
at com.smartgwt.client.widgets.drawing.DrawItem.setDrawPane(DrawItem.java:176)


I am not sure if this is been answered in any existing thread, but I was not able to find any such.
Please let me know how to solve this issue.
Your help is appreciated.

Viewing all articles
Browse latest Browse all 4756

Trending Articles