Sorry for misprint: Webtests failed under Linux but works fine under Windows
Hello all!
We used Win platform for development and Linux platform as a build
server. The problem is that all tests are working under Win and
doesn't work under Linux:
BUILD FAILED /opt/bmlsop-stage/webtest/build.xml:10: The following
error occurred while executing this line:
/opt/bmlsop-stage/webtest/use-cases/web-tests.xml:25: Canoo Webtest:
R_1601. Test failed. Exception raised: java.lang.NoSuchMethodError:
org.mozilla.javascript.Context.call(Lorg/mozilla/javascript/ContextAction;)Ljava/lang/Object;java.lang.NoSuchMethodError:
org.mozilla.javascript.Context.call(Lorg/mozilla/javascript/ContextAction;)Ljava/lang/Object;
at
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.initialize(JavaScriptEngine.java:145)
at
com.gargoylesoftware.htmlunit.WebClient.initialize(WebClient.java:1009)
at
com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(WebWindowImpl.java:115)
at
com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:238)
note, that webtest folder is the same for all platforms and
distributed under the project root.
Ma be somebody knows what the problem is?
webtest R1601
JDK: 1.6.06 and 1.4.12 - Win, 1.6.01, 1.4.12 - Linux; Ant: 1.6.5 with
ant_contrib
begin:vcard
fn:Andrew Sickorsky
n:Sickorsky;Andrew
org:texunatech
adr;dom:;;Magistralnaya street, 5 - 33;Moscow
email;internet:[EMAIL PROTECTED]
title:Tester
tel;work:+7 495 9809067
tel;cell:+7 909 9070328
x-mozilla-html:TRUE
url:www.texunatech.com
version:2.1
end:vcard