[Webtest] StepExecutionException
Marc Guillemot
webtest@lists.canoo.com
Sat, 14 Jan 2006 15:50:07 +0100
I've just committed the change allowing to see the original cause of an
XNIException (what I have tested with Peggy). It should now be easier to
understand such problems.
In Peggy's case, the cause of the error is that the ant script looks for
jars located in some other directories than the ones provided with
webtest and in this case it contained a conflicting jar.
Denis, perhaps should we provide a custom version of the ant scripts
that don't look outside webtest dirs?
Marc.
Davidson, Peggy (MAN-Corporate) wrote:
> Thanks to Marc for the help in resolving this problem. The culprit to this problem was it was using an earlier version of rhino (1.5 or older). Even though I made sure there was no classpath being used or ant being used other than what was distributed with the webtest. I took Marc's suggestion and searched for all js*.jar and removed all of them and I then ran the tests and it was successful. I then restored a little at a time until I found the one causing the exception. There was a .ant directory under C:\Documents and Settings\pdavidson, removing this and all tests and samples ran just fine.
>
>
> I hope this will help folks in the future, if you find its not that xalan/xerces as described in this post
> http://article.gmane.org/gmane.comp.web.canoo.webtest/3380, then check for older Rhino jar files.
>
> Peggy Davidson