java.lang.UnsupportedOperationException: must specify $class with an implementation of interface java.util.List

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 Google Groups by br...@beech.it (JIRA), 1 year ago
must specify $class with an implementation of interface java.util.List
via Google Groups by JL 6BerYeti, 1 year ago
must specify $class with an implementation of interface java.util.List
via Jenkins JIRA by Bram Verhaegh, 1 year ago
must specify $class with an implementation of interface java.util.List
via Stack Overflow by vijay
, 1 year ago
no known implementation of interface jenkins.tasks.SimpleBuildStep is named CopyArtifact
via GitHub by sturmf
, 1 year ago
must specify $class with an implementation of interface java.util.List
via Google Groups by lope...@gmail.com (JIRA), 1 year ago
no known implementation of interface jenkins.tasks.SimpleBuildStep is named junit<br>
java.lang.UnsupportedOperationException: must specify $class with an implementation of interface java.util.List
at org.jenkinsci.plugins.structs.describable.DescribableModel.resolveClass(DescribableModel.java:442)
at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:371)
at org.jenkinsci.plugins.structs.describable.DescribableModel.buildArguments(DescribableModel.java:313)
at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:257)
at org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance(StepDescriptor.java:195)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:181)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:120)
at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
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 undefined.WorkflowScript.run(WorkflowScript:1)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.