I tried to test the GWT Kitchen Sink application in GWT and it
couldn't even run the scripts on it. Look at this!
======= EXCEPTION START ========
EcmaError: lineNumber=[2] column=[0] lineSource=[ function () {]
name=[TypeError] sourceName=[
http://localhost/gwt/www/
com.google.gwt.sample.kitchensink.KitchenSink/
com.google.gwt.sample.kitchensink.KitchenSink.nocache.js]
message=[TypeError: Cannot read property "__gwt_initHandlers" from
null (
http://localhost/gwt/www/
com.google.gwt.sample.kitchensink.KitchenSink/
com.google.gwt.sample.kitchensink.KitchenSink.nocache.js#2)]
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read
property "__gwt_initHandlers" from null (
http://localhost/gwt/www/
com.google.gwt.sample.kitchensink.KitchenSink/
com.google.gwt.sample.kitchensink.KitchenSink.nocache.js#2)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine
$HtmlUnitContextAction.run(JavaScriptEngine.java:553)
at org.mozilla.javascript.Context.call(Context.java:499)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:
511)
at
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:
468)
at
com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:
970)
at
com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run(JavaScriptBackgroundJob.java:
119)
at java.lang.Thread.run(Thread.java:595)
at com.gargoylesoftware.htmlunit.ThreadManager
$1.run(ThreadManager.java:130)
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read
property "__gwt_initHandlers" from null (
http://localhost/gwt/www/
com.google.gwt.sample.kitchensink.KitchenSink/
com.google.gwt.sample.kitchensink.KitchenSink.nocache.js#2)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:
3557)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:
3535)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:
3563)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:
3582)
at
org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:
3595)
at
org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:
1381)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:
3054)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:
2484)
at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:
162)
at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:
401)
at
com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:
192)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:
3003)
at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:
160)
at
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:
496)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine
$6.doRun(JavaScriptEngine.java:461)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine
$HtmlUnitContextAction.run(JavaScriptEngine.java:549)
... 7 more
Enclosed exception:
org.mozilla.javascript.EcmaError: TypeError: Cannot read property
"__gwt_initHandlers" from null (
http://localhost/gwt/www/
com.google.gwt.sample.kitchensink.KitchenSink/
com.google.gwt.sample.kitchensink.KitchenSink.nocache.js#2)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:
3557)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:
3535)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:
3563)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:
3582)
at
org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:
3595)
at
org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:
1381)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:
3054)
at script.y(
http://localhost/gwt/www/
com.google.gwt.sample.kitchensink.KitchenSink/
com.google.gwt.sample.kitchensink.KitchenSink.nocache.js:2)
at script.A(
http://localhost/gwt/www/
com.google.gwt.sample.kitchensink.KitchenSink/
com.google.gwt.sample.kitchensink.KitchenSink.nocache.js:10)
at script(
http://localhost/gwt/www/
com.google.gwt.sample.kitchensink.KitchenSink/
com.google.gwt.sample.kitchensink.KitchenSink.nocache.js:12)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:
2484)
at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:
162)
at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:
401)
at
com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:
192)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:
3003)
at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:
160)
at
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:
496)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine
$6.doRun(JavaScriptEngine.java:461)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine
$HtmlUnitContextAction.run(JavaScriptEngine.java:549)
at org.mozilla.javascript.Context.call(Context.java:499)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:
511)
at
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:
468)
at
com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:
970)
at
com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run(JavaScriptBackgroundJob.java:
119)
at java.lang.Thread.run(Thread.java:595)
at com.gargoylesoftware.htmlunit.ThreadManager
$1.run(ThreadManager.java:130)
== CALLING JAVASCRIPT ==
function () {
if (/loaded|complete/.test(k.readyState)) {
x();
A();
}
}
On Jun 11, 1:22 pm, Kevin VanDenBreemen <
fractalconfus...@gmail.com>
wrote: