I'm using JDK 1.4 as recommended. When I try to run any of the
samples, it throws a NullPointerException like the one below. Any
suggestions?
[ERROR] Unable to load module entry point class
com.google.gwt.sample.kitchensink.client.KitchenSink
java.lang.NullPointerException: null
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNative(ModuleSpaceIE6.java:339)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNativeInt(ModuleSpaceIE6.java:176)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeInt(JavaScriptHost.java:87)
at com.google.gwt.user.client.Timer.createTimeout(Timer.java:59)
at com.google.gwt.user.client.Timer.schedule(Timer.java:112)
at
com.google.gwt.user.client.DeferredCommand.maybeSetDeferredCommandTimer(DeferredCommand.java:99)
at
com.google.gwt.user.client.DeferredCommand.add(DeferredCommand.java:50)
at
com.google.gwt.user.client.ui.DockPanel.deferRealize(DockPanel.java:190)
at com.google.gwt.user.client.ui.DockPanel.add(DockPanel.java:126)
at
com.google.gwt.sample.kitchensink.client.KitchenSink.show(KitchenSink.java:114)
i have the same problemm with JDK build 1.5.0_06-b05
Hi,
i have the same problemm with JDK build 1.5.0_06-b05
amarish wrote:
> Hi there,
>
> I'm using JDK 1.4 as recommended. When I try to run any of the
> samples, it throws a NullPointerException like the one below. Any
> suggestions?
>
> [ERROR] Unable to load module entry point class
> com.google.gwt.sample.kitchensink.client.KitchenSink
> java.lang.NullPointerException: null
> at
> com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNative (ModuleSpaceIE6.java:339)
> at
> com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNativeInt(ModuleSpaceIE6.java:176)
> at
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeInt(JavaScriptHost.java :87)
> at com.google.gwt.user.client.Timer.createTimeout(Timer.java:59)
> at com.google.gwt.user.client.Timer.schedule(Timer.java:112)
> at
> com.google.gwt.user.client.DeferredCommand.maybeSetDeferredCommandTimer (DeferredCommand.java:99)
> at
> com.google.gwt.user.client.DeferredCommand.add(DeferredCommand.java:50)
> at
> com.google.gwt.user.client.ui.DockPanel.deferRealize(DockPanel.java:190)
> at com.google.gwt.user.client.ui.DockPanel.add(DockPanel.java:126)
> at
> com.google.gwt.sample.kitchensink.client.KitchenSink.show(KitchenSink.java:114)
konig...@gmail.com
"... you know what they say: Fool me once, shame on you. Fool me twice, shame on The Cheat."
I have same problem refresh didnt fix it... other samples work fine in
hosted
Same problem here as well, Windows 2000, IE 6.0.2800.1106, Firefox
1.5.03, latest version of GWT.
"[ERROR] Unable to load module entry point class
com.google.gwt.sample.kitchensink.client.KitchenSink
java.lang.NullPointerException: null
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNative(ModuleSpaceIE6.java:368)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNativeInt(ModuleSpaceIE6.java:205)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeInt(JavaScriptHost.java:87)
at com.google.gwt.user.client.Timer.createTimeout(Timer.java:59)
at com.google.gwt.user.client.Timer.schedule(Timer.java:112)
at
com.google.gwt.user.client.DeferredCommand.maybeSetDeferredCommandTimer(DeferredCommand.java:99)
This is a known issue with Windows 2000. Windows 2000 cannot marshal
the Java long data type between Java and JavaScript. As a workaround,
you can modify your own Timer.java to change the longs to ints. This
should be fixed in the next release.
Scott
Can anyone provide a patched .class file, perhaps, to use on win2k
machines to get around this problem? (Or clearer instructions on how
to patch it ourselves)
Chris