Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2012

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Strange "cannot be cast to" script failure

  • Subject: Re: [QF-Test] Strange "cannot be cast to" script failure
  • From: "Robert Lahmer, QFS support" <support@?.de>
  • Date: Mon, 03 Sep 2012 15:34:13 +0200

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,

--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:
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:

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

Videos Downloads Documentation Buy Free Trial