|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Ahh.. in which case I apologies for the miscommunication on my part, I actually tried the Java syntax first - I then reduced the problem to simpler forms to post the issue.
Here is what I tried originally:
node { b = new Bar() a = b as Foo echo a.name() }This doesn't work either and the same exception Cannot invoke method visit() on null object is thrown.
Yet under a groovy console:
It works fine. Hence I think it is likely a problem with all uses of interface and why I'm on the lookout for a decent workaround![]()