gbruchwald / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Object #<Object> has no method 'setPrompt' #635

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using 
SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-19
SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-20

I have some problems right at the beginning of the application, I have no 
errors at compile time but in dev mode:

00:00:35,221 [ERROR] Unable to load module entry point class 
it.sintesi.gwt.client.Sintesi (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): Object #<Object> 
has no method 'setPrompt'   at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.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.invokeNativeVoid(ModuleSpace.java:289)     at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107
)   at 
com.smartgwt.client.widgets.form.fields.CanvasItem.setPrompt(CanvasItem.java) 
    at 
com.smartgwt.client.widgets.form.fields.FormItem.setTooltip(FormItem.java:4546) 
    at 
it.sintesi.gwt.client.login.LoginManager.showLoginForm(LoginManager.java:119) 
    at it.sintesi.gwt.client.Sintesi.onModuleLoad(Sintesi.java:289)     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)   at java.lang.reflect.Method.invoke(Method.java:597)     at 
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)   at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:200)   at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:525)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:662)

What version of the product are you using?
SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-19
SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-20

On what operating system?
Xp, W7

What browser(s) does this happen in?
FF 4.0, FF 5.0, Crome 12.0.742.122.

Please provide any additional information below.
using SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-18 and 
previous version works fine,
I deleted all the cache files, carefully compiled all and and repeated 
systematically using
SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-18
SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-19
SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-20
but only 
SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-18
works fine without exception in dev mode.

Best Regards

Original issue reported on code.google.com by vlui...@tiscali.it on 20 Oct 2011 at 2:13

GoogleCodeExporter commented 9 years ago
Also using latest SmartGWT Nightly Builds, /builds/SmartGWT/3.x/LGPL/2011-10-21 
fails
this occurs when setTooltip is invoked, my code is:
                ....
        final SubmitItem loginButton = new SubmitItem();
        loginButton.setTitle(" Login ");
        loginButton.setTitleAlign(Alignment.CENTER);
        loginButton.setTitleVAlign(VerticalAlignment.CENTER);
        loginButton.setAutoFit(true);
        loginButton.setTooltip(" Login");
        loginButton.setStartRow(false);
        loginButton.setEndRow(false);
                ....
and in dev mode stack trace:

00:00:45,933 [ERROR] Unable to load module entry point class 
it.sintesi.gwt.client.Sintesi (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): Object #<Object> 
has no method 'setPrompt'   at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.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.invokeNativeVoid(ModuleSpace.java:289)     at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107
)   at 
com.smartgwt.client.widgets.form.fields.CanvasItem.setPrompt(CanvasItem.java) 
    at 
com.smartgwt.client.widgets.form.fields.FormItem.setTooltip(FormItem.java:4546) 
    at 
it.sintesi.gwt.client.login.LoginManager.showLoginForm(LoginManager.java:119) 
    at it.sintesi.gwt.client.Sintesi.onModuleLoad(Sintesi.java:289)     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)   at java.lang.reflect.Method.invoke(Method.java:597)     at 
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)   at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:200)   at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:525)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:662)

and at LoginManager.java:119 there is loginButton.setTooltip(" Login");

Best Regards

Original comment by vlui...@tiscali.it on 21 Oct 2011 at 12:52

GoogleCodeExporter commented 9 years ago
We see the issue. We'll let you know when its resolved

Original comment by smartgwt...@gmail.com on 21 Oct 2011 at 5:39

GoogleCodeExporter commented 9 years ago
Should be resolved in nightly builds going forward.

Original comment by smartgwt...@gmail.com on 21 Oct 2011 at 7:17

GoogleCodeExporter commented 9 years ago
Thank you very much, best regards, best regards.

Original comment by vlui...@tiscali.it on 21 Oct 2011 at 7:26