Hello,
We recently updated our project from running a quite old SmartGWT 5.0 version, to running SmartGwt 5.1.
SmartClient Version: v10.1p_2016-07-08/LGPL Development Only (built 2016-07-08)
Also tried to download the latest today, but gives the same result.
For some reason, many of the GWTTestCases fail now, due to a missing javascript file:
It seems to be doubling up the module name when looking for 'loadScriptTagFile.js'. Opening the path in my browser, and removing the extra 'com.code.transcoder.JUnit' from the path allows me to correctly load the file.
Everything seems to be where it should be in the war folder.
'junit.html' loads 'com.code.transcoder.JUnit.nocache.js', which seems to have this bit at the end:
However, all these files are in the same directory, so it seems to me that this bit of code is the culprit, expecting junit.html to be in a parent folder or something?
Is there some config I'm missing?
We recently updated our project from running a quite old SmartGWT 5.0 version, to running SmartGwt 5.1.
SmartClient Version: v10.1p_2016-07-08/LGPL Development Only (built 2016-07-08)
Also tried to download the latest today, but gives the same result.
For some reason, many of the GWTTestCases fail now, due to a missing javascript file:
Code:
logging for HtmlUnit thread [ERROR] Load Script Error: java.io.IOException: Unable to download JavaScript from 'http://127.0.0.1:55830/com.code.transcoder.JUnit/com.code.transcoder.JUnit/loadScriptTagFiles.js' (status 404). java.io.IOException: Unable to download JavaScript from 'http://127.0.0.1:55830/com.code.transcoder.JUnit/com.code.transcoder.JUnit/loadScriptTagFiles.js' (status 404). at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(HtmlPage.java:1106) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1039) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:409) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:729) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.access$500(JavaScriptEngine.java:92) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:679) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:570) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1062) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:409) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:729) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.access$500(JavaScriptEngine.java:92) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:679) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:570) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:545) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:959) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:347) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:425) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:286) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:683) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:642) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3116) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2083) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:918) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:899) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:242) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:188) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:268) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:156) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:437) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361) at com.google.gwt.junit.RunStyleHtmlUnit$HtmlUnitThread.run(RunStyleHtmlUnit.java:140)
Everything seems to be where it should be in the war folder.
'junit.html' loads 'com.code.transcoder.JUnit.nocache.js', which seems to have this bit at the end:
Code:
document.write('<script src="com.code.transcoder.JUnit/loadScriptTagFiles.js"></script>');
Is there some config I'm missing?
Comment