Friday, August 19, 2016

GWT 2.8 - ScriptInjector in GWTTestCase

Hi All,

after the migration to GWT 2.6.1 - > 2.8 I'm not anymore able to run our unit tests (GWTTestCases's).
The call of new ScriptInjector.FromString(javascript).setWindow(ScriptInjector.TOP_WINDOW).inject();  doesn't work anymore.

Following error happens:

Aug 19, 2016 4:34:09 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError
SCHWERWIEGEND: runtimeError: message=[TypeError: Cannot convert a Symbol value to a string] sourceName=[script in http://localhost:52747/com.aris.web.WebUiKitDevTest.JUnit/junit.html?gwt.codesvr=localhost:52736 from (-1, -1) to (-1, -1)] line=[1] lineSource=[null] lineOffset=[0]

com.google.gwt.core.client.JavaScriptException: (null) @com.google.gwt.core.client.ScriptInjector::nativeAttachToHead(Lcom/google/gwt/core/client/JavaScriptObject;Lcom/google/gwt/core/client/JavaScriptObject;)([JavaScript object(12), JavaScript object(13)]): null

Somebody an idea?

THX
Rocco

 

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment