Hi Andrew,

this looks like a classpath issue. You have probably an older rhino jar
somewhere in your ant installation or ant user dir.

Normally this shouldn't happen if you use the bin/webtest.sh script.

Marc.
-- 
Blog: http://mguillem.wordpress.com


Andrew Sickorsky wrote:
> 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
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to