Radoslav Ivanov created GROOVY-8217: ---------------------------------------
Summary: java.lang.ClassNotFoundException: java$lang$Enum Key: GROOVY-8217 URL: https://issues.apache.org/jira/browse/GROOVY-8217 Project: Groovy Issue Type: Bug Components: groovy-runtime Affects Versions: 2.4.8 Reporter: Radoslav Ivanov Priority: Critical Hi guys It looks like we are hitting pretty rare but severe problem [2]. Note that restart fixed the problem as it was also suggested here [1]. Regards Rado Details 1. https://stackoverflow.com/questions/40854472/java-lang-classnotfoundexception-java-langenum-in-jenkins-2-0-while-executing 2. Caused by: java.lang.TypeNotPresentException: Type java$lang$Enum not present at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:117) [rt.jar:1.8.0_112] at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125) [rt.jar:1.8.0_112] at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49) [rt.jar:1.8.0_112] at sun.reflect.generics.repository.ClassRepository.getSuperclass(ClassRepository.java:90) [rt.jar:1.8.0_112] at java.lang.Class.getGenericSuperclass(Class.java:777) [rt.jar:1.8.0_112] at com.sun.beans.finder.MethodFinder.findAccessibleMethod(MethodFinder.java:151) [rt.jar:1.8.0_112] at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1344) [rt.jar:1.8.0_112] at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1197) [rt.jar:1.8.0_112] at java.beans.Introspector.getBeanInfo(Introspector.java:426) [rt.jar:1.8.0_112] at java.beans.Introspector.getBeanInfo(Introspector.java:173) [rt.jar:1.8.0_112] at groovy.lang.MetaClassImpl$15.run(MetaClassImpl.java:3313) [groovy-2.4.8.jar:2.4.8] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_112] at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:3311) [groovy-2.4.8.jar:2.4.8] at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3288) [groovy-2.4.8.jar:2.4.8] at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:271) [groovy-2.4.8.jar:2.4.8] at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:313) [groovy-2.4.8.jar:2.4.8] at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:258) [groovy-2.4.8.jar:2.4.8] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.selectConstructorAndTransformArguments(ScriptBytecodeAdapter.java:236) [groovy-2.4.8.jar:2.4.8] ... 11 more Caused by: java.lang.ClassNotFoundException: java$lang$Enum at java.net.URLClassLoader.findClass(URLClassLoader.java:381) [rt.jar:1.8.0_112] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [rt.jar:1.8.0_112] at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:677) [groovy-2.4.8.jar:2.4.8] at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:425) [groovy-2.4.8.jar:2.4.8] at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:787) [groovy-2.4.8.jar:2.4.8] at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:775) [groovy-2.4.8.jar:2.4.8] at java.lang.Class.forName0(Native Method) [rt.jar:1.8.0_112] at java.lang.Class.forName(Class.java:348) [rt.jar:1.8.0_112] at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114) [rt.jar:1.8.0_112] ... 30 more -- This message was sent by Atlassian JIRA (v6.3.15#6346)