java.lang.TypeNotPresentException

Type java.lang$Enum not present


Solutions on the web307

Solution icon of googlegroups
via Google Groups by karing...@gmail.com (JIRA), 7 months ago
Type java.lang$Enum not present

Solution icon of coderanch
via Coderanch by Atharva Gupta, 8 months ago
Type com.sun.xml.ws.developer.MemberSubmissionAddressing not present

Solution icon of github
via GitHub by bwa
, 1 year ago
Type net.wasdev.wlp.maven.plugins.applications.InstallAppsMojo not present

Solution icon of github
via GitHub by lvbin0127
, 8 months ago
Type org.codehaus.mojo.cobertura.CoberturaReportMojo not present

Solution icon of github
via GitHub by eamonnfaherty
, 1 month ago
Type org.eclipse.jetty.maven.plugin.JettyDeployWar not present

Solution icon of github
Type org.robolectric.RobolectricGradleTestRunner not present

Solution icon of github
Type com.iqarr.maven.plugin.JCVMojo not present

Solution icon of github
Type java.rmi.RemoteException not present

Solution icon of github
Type org.jboss.netty.channel.ChannelPipelineFactory not present

Solution icon of github
Type org.springframework.build.aws.maven.SimpleStorageServiceWagon not present

Stack trace

  • java.lang.TypeNotPresentException: Type java.lang$Enum not present at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:117) at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125) at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49) at sun.reflect.generics.repository.ClassRepository.getSuperclass(ClassRepository.java:90) at java.lang.Class.getGenericSuperclass(Class.java:777) at com.sun.beans.TypeResolver.prepare(TypeResolver.java:308) at com.sun.beans.TypeResolver.resolve(TypeResolver.java:185) at com.sun.beans.TypeResolver.resolve(TypeResolver.java:218) at com.sun.beans.TypeResolver.resolve(TypeResolver.java:169) at com.sun.beans.TypeResolver.resolveInClass(TypeResolver.java:81) at java.beans.FeatureDescriptor.getReturnType(FeatureDescriptor.java:370) at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:648) at java.beans.PropertyDescriptor.updateGenericsFor(PropertyDescriptor.java:623) at java.beans.Introspector.addPropertyDescriptor(Introspector.java:605) at java.beans.Introspector.addPropertyDescriptors(Introspector.java:614) at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:467) at java.beans.Introspector.getBeanInfo(Introspector.java:428) at java.beans.Introspector.getBeanInfo(Introspector.java:173) at groovy.lang.MetaClassImpl$15.run(MetaClassImpl.java:3290) at java.security.AccessController.doPrivileged(Native Method) at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:3288) at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3265) at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:254) at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:285) 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 packageInstaller.call(packageInstaller.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1215) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:812) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:100) at groovy.lang.GroovyObject$invokeMethod.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.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151) at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:115) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:103) at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149) at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146) at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:16) at WorkflowScript.run(WorkflowScript:102)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Once, 1 year ago
2 times, 1 year ago