Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Tomasz Melcer, 1 year ago
java.util.Collections$UnmodifiableRandomAccessList cannot be cast to java.io.File
via Jenkins JIRA by Tomasz Melcer, 2 years ago
java.util.Collections$UnmodifiableRandomAccessList cannot be cast to java.io.File
java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to java.io.File at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:44) at com.cloudbees.plugins.flow.FlowRun$RunnerImpl.doRun(FlowRun.java:130) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:467) at hudson.model.Run.run(Run.java:1404) at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:112) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)