Daniel, Thanks for the link to stack overflow much appreciated. Herewith the stacktrace
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/C:/Users/JonKe/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy/3.0.0-beta-1/30ff252aacc6e2b57649cdf4aeb7b9b15115a74b/groovy-3.0.0-beta-1.jar) to method java.lang.Object.clone() at org.codehaus.groovy.reflection.ReflectionUtils.makeAccessible(ReflectionUtils.java:201) at org.codehaus.groovy.reflection.ReflectionUtils.makeAccessible(ReflectionUtils.java:193) at org.codehaus.groovy.reflection.ReflectionUtils$1.run(ReflectionUtils.java:186) at org.codehaus.groovy.reflection.ReflectionUtils$1.run(ReflectionUtils.java:184) at java.base/java.security.AccessController.doPrivileged(AccessController.java:310) at org.codehaus.groovy.reflection.ReflectionUtils.makeAccessibleInPrivilegedAction(ReflectionUtils.java:184) at org.codehaus.groovy.reflection.CachedMethod.makeAccessibleIfNecessary(CachedMethod.java:376) at org.codehaus.groovy.reflection.CachedMethod.setAccessible(CachedMethod.java:155) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.<init>(PogoMetaMethodSite.java:161) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.<init>(PogoMetaMethodSite.java:189) at org.codehaus.groovy.reflection.CachedMethod.createPogoMetaMethodSite(CachedMethod.java:284) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.createCachedMethodSite(PogoMetaMethodSite.java:149) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.createPogoMetaMethodSite(PogoMetaMethodSite.java:125) at groovy.lang.MetaClassImpl.createPogoCallSite(MetaClassImpl.java:3534) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPogoSite(CallSiteArray.java:149) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:163) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) at GPP_Library.DataClassInterface$clone.call(Unknown Source) at groovyJCSP.ChannelOutputList.broadcastSeq(ChannelOutputList.groovy:262) at GPP_Library.connectors.spreaders.OneSeqCastList.run(OneSeqCastList.groovy:36) at jcsp.lang.ParThread.run(ParThread.java:114) The last 4 lines refer to my coding which I have already given you the code that is called within the classes referred to above. Hope it helps Jon -----Original Message----- From: Daniel Sun <realblue...@hotmail.com> Sent: 14 May 2019 10:09 To: d...@groovy.incubator.apache.org Subject: RE: [ANNOUNCE] Apache Groovy 3.0.0-beta-1 Released CAUTION: This email originated from outside Edinburgh Napier University. Do not follow links or open attachments if you doubt the authenticity of the sender or the content. FYI, https://stackoverflow.com/questions/50435218/how-to-pass-args-to-jvm-which-running-test-with-gradle Cheers, Daniel.Sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html This message and its attachment(s) are intended for the addressee(s) only and should not be read, copied, disclosed, forwarded or relied upon by any person other than the intended addressee(s) without the permission of the sender. If you are not the intended addressee you must not take any action based on this message and its attachment(s) nor must you copy or show them to anyone. Please respond to the sender and ensure that this message and its attachment(s) are deleted. It is your responsibility to ensure that this message and its attachment(s) are scanned for viruses or other defects. Edinburgh Napier University does not accept liability for any loss or damage which may result from this message or its attachment(s), or for errors or omissions arising after it was sent. Email is not a secure medium. Emails entering Edinburgh Napier University's system are subject to routine monitoring and filtering by Edinburgh Napier University. Edinburgh Napier University is a registered Scottish charity. Registration number SC018373