Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51870

Pipeline Model Definition: Illegal reflective access to Groovy objects

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Just a fragment of the log below.
      It seems that "org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache()" does lots of reflection calls which Java 9+ do not like.

      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to method java.lang.Enum.clone()
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:109)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:105)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:102)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:274)
      	at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:367)
      	at groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:346)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3286)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to method java.lang.Enum.readObject(java.io.ObjectInputStream)
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:109)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:105)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:102)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:274)
      	at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:367)
      	at groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:346)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3286)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to method java.lang.Enum.readObjectNoData()
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:109)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:105)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:102)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:274)
      	at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:367)
      	at groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:346)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3286)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to method java.util.concurrent.TimeUnit.cvt(long,long,long)
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:109)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:105)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:102)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:274)
      	at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:367)
      	at groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:346)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3286)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to method java.util.concurrent.TimeUnit.excessNanos(long,long)
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:109)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:105)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:102)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:274)
      	at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:367)
      	at groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:346)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3286)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to field java.lang.Enum.name
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:55)
      	at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:52)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:52)
      	at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:49)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getFields(CachedClass.java:278)
      	at groovy.lang.MetaClassImpl.addFields(MetaClassImpl.java:2380)
      	at groovy.lang.MetaClassImpl.inheritFields(MetaClassImpl.java:2375)
      	at groovy.lang.MetaClassImpl.setupProperties(MetaClassImpl.java:2262)
      	at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:3323)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3288)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to field java.lang.Enum.ordinal
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:55)
      	at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:52)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:52)
      	at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:49)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getFields(CachedClass.java:278)
      	at groovy.lang.MetaClassImpl.addFields(MetaClassImpl.java:2380)
      	at groovy.lang.MetaClassImpl.inheritFields(MetaClassImpl.java:2375)
      	at groovy.lang.MetaClassImpl.setupProperties(MetaClassImpl.java:2262)
      	at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:3323)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3288)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to field java.util.concurrent.TimeUnit.NANO_SCALE
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:55)
      	at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:52)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:52)
      	at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:49)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getFields(CachedClass.java:278)
      	at groovy.lang.MetaClassImpl.addFields(MetaClassImpl.java:2380)
      	at groovy.lang.MetaClassImpl.inheritFields(MetaClassImpl.java:2375)
      	at groovy.lang.MetaClassImpl.setupProperties(MetaClassImpl.java:2262)
      	at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:3323)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3288)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/nenashev/Documents/jenkins/test/java10/work/war/WEB-INF/lib/groovy-all-2.4.11.jar) to field java.util.concurrent.TimeUnit.MICRO_SCALE
      	at org.codehaus.groovy.reflection.CachedClass.makeAccessible(CachedClass.java:84)
      	at org.codehaus.groovy.reflection.CachedClass.access$000(CachedClass.java:42)
      	at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:55)
      	at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:52)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:52)
      	at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:49)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
      	at org.codehaus.groovy.reflection.CachedClass.getFields(CachedClass.java:278)
      	at groovy.lang.MetaClassImpl.addFields(MetaClassImpl.java:2380)
      	at groovy.lang.MetaClassImpl.inheritFields(MetaClassImpl.java:2375)
      	at groovy.lang.MetaClassImpl.setupProperties(MetaClassImpl.java:2262)
      	at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:3323)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3288)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:260)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:302)
      	at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:38)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:373)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:325)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:312)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy:357)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:230)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils.generateTypeCache(Utils.groovy)
      	at org.jenkinsci.plugins.pipeline.modeldefinition.Utils$generateTypeCache.call(Unknown Source)
      
      

        Attachments

          Activity

          Hide
          abayer Andrew Bayer added a comment -

          Yes, this is a more general Groovy thing.

          Show
          abayer Andrew Bayer added a comment - Yes, this is a more general Groovy thing.
          Hide
          abayer Andrew Bayer added a comment -

          Whatever needs to be changed here isn't specific to Declarative - it's Groovy itself. So I'm closing this as won't fix.

          Show
          abayer Andrew Bayer added a comment - Whatever needs to be changed here isn't specific to Declarative - it's Groovy itself. So I'm closing this as won't fix.

            People

            • Assignee:
              Unassigned
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: