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

findFiles function is throwing unexpected error. WorkflowScript: unexpected token: }

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • Jenkins 2.413
      Pipeline Utility Steps
      Version2.15.4

      Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: f86aaba9-85d7-4e3e-882c-6fedf9921f99 2023-07-10 11:27:18 hudson.remoting.ProxyException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: 2023-07-10 11:27:18 WorkflowScript: 381: unexpected token: } @ line 381, column 1. 2023-07-10 11:27:18 } 2023-07-10 11:27:18 ^ 2023-07-10 11:27:18 2023-07-10 11:27:18 1 error 2023-07-10 11:27:18 2023-07-10 11:27:18 at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309) 2023-07-10 11:27:18 at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149) 2023-07-10 11:27:18 at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:119) 2023-07-10 11:27:18 at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:131) 2023-07-10 11:27:18 at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:349) 2023-07-10 11:27:18 at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:225) 2023-07-10 11:27:18 at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:191) 2023-07-10 11:27:18 at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:233) 2023-07-10 11:27:18 at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:189) 2023-07-10 11:27:18 at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:966) 2023-07-10 11:27:18 at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:626) 2023-07-10 11:27:18 at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:602) 2023-07-10 11:27:18 at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:579) 2023-07-10 11:27:18 at jdk.internal.reflect.GeneratedMethodAccessor958.invoke(Unknown Source) 2023-07-10 11:27:18 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2023-07-10 11:27:18 at java.base/java.lang.reflect.Method.invoke(Method.java:568) 2023-07-10 11:27:18 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98) 2023-07-10 11:27:18 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 2023-07-10 11:27:18 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225) 2023-07-10 11:27:18 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128) 2023-07-10 11:27:18 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.Converter.compilationUnitToPipelineDef(Converter.groovy:174) 2023-07-10 11:27:18 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.Converter$compilationUnitToPipelineDef$2.callStatic(Unknown Source) 2023-07-10 11:27:18 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.Converter.scriptToPipelineDef(Converter.groovy:134) 2023-07-10 11:27:18 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.Converter.scriptToPipelineDef(Converter.groovy:127) 2023-07-10 11:27:18 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.Converter$scriptToPipelineDef.call(Unknown Source) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128) 2023-07-10 11:27:18 at com.citco.jenkins.cldmgmt.ParsedJenkinsfile.<init>(ParsedJenkinsfile.groovy:12) 2023-07-10 11:27:18 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2023-07-10 11:27:18 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) 2023-07-10 11:27:18 at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2023-07-10 11:27:18 at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) 2023-07-10 11:27:18 at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) 2023-07-10 11:27:18 at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.constructorCall(DefaultInvoker.java:25) 2023-07-10 11:27:18 at jfProcessing.call(jfProcessing.groovy:516) 2023-07-10 11:27:18 at validatePipeline.call(validatePipeline.groovy:58) 2023-07-10 11:27:18 at __cps.transform__(Native Method) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:100) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:85) 2023-07-10 11:27:18 at jdk.internal.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) 2023-07-10 11:27:18 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2023-07-10 11:27:18 at java.base/java.lang.reflect.Method.invoke(Method.java:568) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.impl.LocalVariableBlock$LocalVariable.get(LocalVariableBlock.java:39) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.impl.LocalVariableBlock.evalLValue(LocalVariableBlock.java:28) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.LValueBlock$BlockImpl.eval(LValueBlock.java:55) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.LValueBlock.eval(LValueBlock.java:16) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.Next.step(Next.java:83) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:152) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:146) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136) 2023-07-10 11:27:18 at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275) 2023-07-10 11:27:18 at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146) 2023-07-10 11:27:18 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) 2023-07-10 11:27:18 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51) 2023-07-10 11:27:18 at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:187) 2023-07-10 11:27:18 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:420) 2023-07-10 11:27:18 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:330) 2023-07-10 11:27:18 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:294) 2023-07-10 11:27:18 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67) 2023-07-10 11:27:18 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2023-07-10 11:27:18 at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139) 2023-07-10 11:27:18 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) 2023-07-10 11:27:18 at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) 2023-07-10 11:27:18 at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51) 2023-07-10 11:27:18 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) 2023-07-10 11:27:18 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2023-07-10 11:27:18 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) 2023-07-10 11:27:18 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 2023-07-10 11:27:18 at java.base/java.lang.Thread.run(Thread.java:833) 2023-07-10 11:27:18 Finished: FAILURE

            Unassigned Unassigned
            parasgoel01 Paras
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: