I've downloaded GWT and followed the getting started instructions to
the letter. However I can't get the KitchenSink application to work in
"hosted" mode - no problem in "web" mode.
I get the same problem running from the command line, or from Eclipse.
I'm running on Windows XP with JDK 1.5. The only thing that makes me
suspicious is that I've got IE 7 Beta installed - I do use Firefox as
default browser, but looking at the stack dump, it looks like the
problem may be IE related. Any thoughts on how to progress would be
very appreciated - I've got two applications in develpment where GWT
would be brilliant if I can get it to work.
Here is the stack dumb I get from the GWT browser console:
[ERROR] Unable to load module entry point class
com.google.gwt.sample.kitchensink.client.KitchenSink
java.lang.RuntimeException: JavaScript method
'@com.google.gwt.user.client.impl.DOMImplStandard::init()' threw an
exception
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNative(ModuleSpaceIE6.java:365)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNativeVoid(ModuleSpaceIE6.java:254)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:127)
at
com.google.gwt.user.client.impl.DOMImplStandard.init(DOMImplStandard.java:176)
at com.google.gwt.user.client.DOM.<clinit>(DOM.java:39)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:46)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:56)
at
com.google.gwt.sample.kitchensink.client.KitchenSink.onModuleLoad(KitchenSink.java:19)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:64)
at
com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:324)
Caused by: com.google.gwt.core.client.JavaScriptException: JavaScript
TypeError exception: Object doesn't support this property or method
at
com.google.gwt.dev.shell.ModuleSpace.createJavaScriptException(ModuleSpace.java:267)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.exceptionCaught(ModuleSpaceIE6.java:76)
at
com.google.gwt.dev.shell.JavaScriptHost.exceptionCaught(JavaScriptHost.java:31)
at
com.google.gwt.dev.shell.StaticJavaDispatch.callMethod(StaticJavaDispatch.java:45)
at
com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:117)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:199)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:108)
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
at
org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
at
org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:487)
Thanks in advance,
Colin
Hi all,
I've downloaded GWT and followed the getting started instructions to
the letter. However I can't get the KitchenSink application to work in
"hosted" mode - no problem in "web" mode.
I get the same problem running from the command line, or from Eclipse.
I'm running on Windows XP with JDK 1.5. The only thing that makes me
suspicious is that I've got IE 7 Beta installed - I do use Firefox as
default browser, but looking at the stack dump, it looks like the
problem may be IE related. Any thoughts on how to progress would be
very appreciated - I've got two applications in develpment where GWT
would be brilliant if I can get it to work.
Here is the stack dumb I get from the GWT browser console:
[ERROR] Unable to load module entry point class
com.google.gwt.sample.kitchensink.client.KitchenSink
java.lang.RuntimeException: JavaScript method
'@com.google.gwt.user.client.impl.DOMImplStandard::init()' threw an
exception
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNative (ModuleSpaceIE6.java:365)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNativeVoid(ModuleSpaceIE6.java:254)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java :127)
at
com.google.gwt.user.client.impl.DOMImplStandard.init(DOMImplStandard.java:176)
at com.google.gwt.user.client.DOM.<clinit>(DOM.java:39)
at com.google.gwt.user.client.ui.Button .<init>(Button.java:46)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:56)
at
com.google.gwt.sample.kitchensink.client.KitchenSink.onModuleLoad(KitchenSink.java:19)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:64)
at
com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:324)
Caused by: com.google.gwt.core.client.JavaScriptException : JavaScript
TypeError exception: Object doesn't support this property or method
at
com.google.gwt.dev.shell.ModuleSpace.createJavaScriptException(ModuleSpace.java:267)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.exceptionCaught (ModuleSpaceIE6.java:76)
at
com.google.gwt.dev.shell.JavaScriptHost.exceptionCaught(JavaScriptHost.java:31)
at
com.google.gwt.dev.shell.StaticJavaDispatch.callMethod(StaticJavaDispatch.java:45)
at
com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:117)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:199)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.method6 (IDispatchImpl.java:108)
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
at
org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
at
org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:487)
Thanks in advance,
Colin
I have now removed IE7 frm my computer, and rebooted. Still getting the
same problem. This is very frustrating, as obviously most people are
not having this problem. I can't think of anything else on my PC that
coud be causing a problem - its a bog standard Windows XP professional
installation, with JDK 1.5, Eclipse 3.1, and Ant 1.6 for development.
Any ideas are still very welcome.
Regards,
Colin
I'd like to know why the J2EE installation is required. It should be
possible to develop with J2SE JDK.
Regards,
Colin
I've moved my comments on this to the thread "What am I doing wrong ?",
where others had similar problems.
As I said, yes I did remove IE7, and reboot, but the problem persisted.
The solution to the problem is to install J2EE JDK - which, as
discussed in the other thread is not ideal.
I did not instal the internal Tomcat, as I have my own Tomcat
installation already - this appears to be the problem. Really the GWT
installer should give th option to point at an existing TOmcat
installation. I don't want a second Tomcat installation, nor do I
really want J2EE JDK on my Windows machine, as it does not have
anything I want or need for development. This would be less of an issue
if using Linux for development, but as I'm sure you're aware, Windows
registry model can be a nightmare if you install various versions of
problems - even when you remove them, various bits are often left
bhind, and it becomes soul destroying to get things fixed up.
Regards,
Colin
Hi Robery,
I've moved my comments on this to the thread "What am I doing wrong ?",
where others had similar problems.
As I said, yes I did remove IE7, and reboot, but the problem persisted.
The solution to the problem is to install J2EE JDK - which, as
discussed in the other thread is not ideal.
I did not instal the internal Tomcat, as I have my own Tomcat
installation already - this appears to be the problem. Really the GWT
installer should give th option to point at an existing TOmcat
installation. I don't want a second Tomcat installation, nor do I
really want J2EE JDK on my Windows machine, as it does not have
anything I want or need for development. This would be less of an issue
if using Linux for development, but as I'm sure you're aware, Windows
registry model can be a nightmare if you install various versions of
problems - even when you remove them, various bits are often left
bhind, and it becomes soul destroying to get things fixed up.
Regards,
Colin
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr99818cwa;
Sun, 21 May 2006 05:27:19 -0700 (PDT)
X-Google-Token: zLKo8AwAAABAEj5lfbuCqPTZDdfGDrM1
Received: from 62.254.128.5 by g10g2000cwb.googlegroups.com with HTTP;
Sun, 21 May 2006 12:27:19 +0000 (UTC)
From: "Colin Manning" < colin....@googlemail.com>
To: "Google Web Toolkit" <Google-We...@googlegroups.com>
Subject: Re: Problem Running Sample Applications
Date: Sun, 21 May 2006 12:27:19 -0000
Message-ID: <1148214439.3...@g10g2000cwb.googlegroups.com >
In-Reply-To: <481031b40605210122r617...@mail.gmail.com>
References: < 1147996780.3...@j73g2000cwa.googlegroups.com>
<481031b40605181701u193...@mail.gmail.com>
< 1148026051....@38g2000cwa.googlegroups.com>
<db9693910605190117w4e...@mail.gmail.com >
<1148081200.2...@y43g2000cwc.googlegroups.com>
< 481031b40605210122r617...@mail.gmail.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain