-
Bug
-
Resolution: Fixed
-
Major
-
None
-
2.277.x
teamconcert 2.2.0
copyartifact 1.46
Steps to reproduce:
- Create a freestyle job, the UI shows up as broken after the SCM section
- Add a CopyArtifact step (this step includes a dropdown)
- Save (No error)
- Edit the configuration when loading the page, we can see the JS errors shown below:
- Save (Error)
2021-03-22 09:42:42.200+0000 [id=369] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 4584a8c4-bd64-4e56-a2eb-ef262b03a972 java.lang.ClassNotFoundException: ["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.DownstreamBuildSelector","hudson.plugins.copyartifact.LastBuildWithArtifactSelector","hudson.plugins.copyartifact.LastCompletedBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"] at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:2179) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:670) Caused: java.lang.IllegalArgumentException: Class ["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.DownstreamBuildSelector","hudson.plugins.copyartifact.LastBuildWithArtifactSelector","hudson.plugins.copyartifact.LastCompletedBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"] is specified in JSON, but no such class found in classLoader hudson.PluginManager$UberClassLoader at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:675)
The error above is misleading as you can think that the plugin causing the issue is the CopyArtifact plugin, but it is not, as the problem comes from the selector not being correctly applied.
The problem disappears when you disable the `teamconcert` plugin
- is duplicated by
-
JENKINS-62852 team concert breaks with form tables-to-divs changes
- Resolved