Mailingliste - Einträge 2012
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Strange "cannot be cast to" script failure
Hello Konstantin,as likely as not, this ClassCastException is due to embedding two different Groovy versions into the client application - one comes from yourself, the other one from QF-Test. This is a known issue which should be fixed in the current QF-Test version 3.4.10. Best regards, Robert--On Mittwoch, August 29, 2012 13:28:32 +0000 "Gordeyev, Konstantin" <kgordeev@?.ru> wrote: Hello QFT team, I've got very strange script failure: ------------------------------------------------------------------------- ------------ The script failed with the following message: java.lang.String cannot be cast to [Ljava.lang.Object; at Script(run:9) ------------------------------------------------------------------------- ------------ It happens every time when I have string of code like this: str = 'str1' + 'str2' What is interesting - it always appears on the one application client but never on another one (I use 2 now). Why is it so? The difference between the applications is: - the first is run with javaws + link to jnlp file from web; - the second is run with a bat file containing this: SET PATH=%JAVA_HOME%/bin;%PATH% start javaw -jar lib/arcxml.jar %* Also the result of the operation (str ==~ pattern) is true for the first application (jnlp from web) and always false for the second one (even if it's really true). Could you please help me with it? It really stops my work now. P.S. I'm using QFT QF-Test version 3.4.4 (build 4384) and Java version: 1.6.0_34 _______________________ BR, Konstantin Gordeev -- QFS Support - Robert Lahmer Quality First Software GmbH http://www.qfs.de Tulpenstr. 41 Tel: +49 8171 38648-20 DE-82538 Geretsried Fax: +49 8171 38648-16 GF: Gregor Schmid, Karlheinz Kellerer HRB München 140833
|