Under some special conditions, the rule cannot set the item label and the error "threw an unhandled Exception:
java.lang.IllegalArgumentException: Couldn’t invoke ‘assignValueTo’ " is thrown.
The special conditions are:
I have a Time routine:
var Timer timer1 = createTimer™ [| …
and in the timer routine all mebers of a group are iterated:
SW.members.forEach[actItem |
Actions on a member:
read out the label works ok: string=actItem.label
writing to it gives error: actItem.label=“xxx” (simple string)
But I may write to the label at this code position if the item is specified by its name: SW01.label=“xxx”
I may also write to label, if the iterating code is placed outside a timer routine
May we see the logInfo output? May we see the whole error message in that context?
This reminds me of something; if I recall right, something to with trying to carry out methods on a list entry object - you need to cast as GenericItem or something like.
More edit - memory refreshed