Forum Discussion

thedivxboy's avatar
thedivxboy
Occasional Contributor
16 years ago
Solved

ClassCastException - getProperty() used with array

Hello, In a groovy script step I have this code: def sides = ["value1", "value2"]; context.setProperty("sides", sides); And in a listener (java code complied to a jar) I want to access eac...
  • thedivxboy's avatar
    16 years ago
    Hi,

    I've found the problem .. It was a very strange problem ...
    I've simply inversed the two following lines:

    List sides = (List) runContext.getProperty("sides");
    String senderSideStatus, receiverSideStatus;


    I suppose it's a bug in SoapUI or Java because it's not very logic I think

    Bye,
    Arnaud.