You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log Output (ensure to remove any confidential information like tokens, project names, etc.
09:30:46 org.jenkinsci.plugins.workflow.cps.CpsCompilationErrorsException: startup failed:
09:30:46 General error during conversion: Error grabbing Grapes -- [unresolved dependency: com.konghq#unirest-java;2.4.03: several problems occurred while resolving dependency: com.konghq#unirest-java;2.4.03 {default=[default]}:
09:30:46 java.util.NoSuchElementException at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:721)
09:30:46 java.util.NoSuchElementException at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:721)
09:30:46 java.util.NoSuchElementException at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:721)]
09:30:46
09:30:46 java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.konghq#unirest-java;2.4.03: several problems occurred while resolving dependency: com.konghq#unirest-java;2.4.03 {default=[default]}:
09:30:46 java.util.NoSuchElementException at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:721)
09:30:46 java.util.NoSuchElementException at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:721)
09:30:46 java.util.NoSuchElementException at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:721)]
09:30:46 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
09:30:46 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
09:30:46 at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
09:30:46 at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
09:30:46 at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
09:30:46 at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
09:30:46 at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
09:30:46 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)
09:30:46 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235)
09:30:46 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)
09:30:46 at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:424)
09:30:46 at jdk.internal.reflect.GeneratedMethodAccessor498.invoke(Unknown Source)
09:30:46 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:30:46 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:30:46 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
09:30:46 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
09:30:46 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
09:30:46 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
09:30:46 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
09:30:46 at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
09:30:46 at jdk.internal.reflect.GeneratedMethodAccessor1257.invoke(Unknown Source)
09:30:46 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:30:46 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:30:46 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
09:30:46 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
09:30:46 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
09:30:46 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
09:30:46 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
09:30:46 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:190)
09:30:46 at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
09:30:46 at jdk.internal.reflect.GeneratedMethodAccessor1255.invoke(Unknown Source)
09:30:46 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:30:46 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:30:46 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
09:30:46 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
09:30:46 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
09:30:46 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
09:30:46 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
09:30:46 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
09:30:46 at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
09:30:46 at groovy.grape.Grape.grab(Grape.java:167)
09:30:46 at groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.java:378)
09:30:46 at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:321)
09:30:46 at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:943)
09:30:46 at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:605)
09:30:46 at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
09:30:46 at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
09:30:46 at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
09:30:46 at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
09:30:46 at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:254)
09:30:46 at groovy.lang.GroovyClassLoader.recompile(GroovyClassLoader.java:761)
09:30:46 at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:718)
09:30:46 at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:787)
09:30:46 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:575)
09:30:46 at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell$TimingLoader.loadClass(CpsGroovyShell.java:170)
09:30:46 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:575)
09:30:46 at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:677)
09:30:46 at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:787)
09:30:46 at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:775)
09:30:46 at org.jenkinsci.plugins.workflow.cps.global.UserDefinedGlobalVariable.getValue(UserDefinedGlobalVariable.java:57)
09:30:46 at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:113)
09:30:46 at jdk.internal.reflect.GeneratedMethodAccessor361.invoke(Unknown Source)
09:30:46 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:30:46 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:30:46 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
09:30:46 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
09:30:46 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
09:30:46 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
09:30:46 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)
09:30:46 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
09:30:46 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
09:30:46 at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:160)
09:30:46 at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:23)
09:30:46 at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:157)
09:30:46 at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:142)
09:30:46 at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:158)
09:30:46 at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:162)
09:30:46 at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:17)
09:30:46 at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:84)
09:30:46 at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:113)
09:30:46 at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83)
09:30:46 at jdk.internal.reflect.GeneratedMethodAccessor350.invoke(Unknown Source)
09:30:46 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:30:46 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:30:46 at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
09:30:46 at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
09:30:46 at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
09:30:46 at jdk.internal.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
09:30:46 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:30:46 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:30:46 at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
09:30:46 at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
09:30:46 at com.cloudbees.groovy.cps.Next.step(Next.java:83)
09:30:46 at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
09:30:46 at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
09:30:46 at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)
09:30:46 at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)
09:30:46 at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
09:30:46 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
09:30:46 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)
09:30:46 at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:186)
09:30:46 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:370)
09:30:46 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:93)
09:30:46 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:282)
09:30:46 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:270)
09:30:46 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:66)
09:30:46 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
09:30:46 at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
09:30:46 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
09:30:46 at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
09:30:46 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
09:30:46 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
09:30:46 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
09:30:46 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
09:30:46 at java.base/java.lang.Thread.run(Thread.java:834)
Describe the bug
Jenkins fails by trying compile
@grab(group="com.konghq", module="unirest-java", version="2.4.03", classifier="standalone")
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should get no error
Screenshots
If applicable, add screenshots to help explain your problem.
Affected version (please complete the following information):
Log Output (ensure to remove any confidential information like tokens, project names, etc.
Additional context
This library has many vulnerabilities
https://mvnrepository.com/artifact/com.konghq/unirest-java/2.4.03
The text was updated successfully, but these errors were encountered: