Symptoms
Trying to perform a Move/Copy/Promote you get the error:
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class ...
Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
-
CloudBees Jenkins Enterprise - Managed controller
-
CloudBees Jenkins Enterprise - Operations center
Diagnosis/Treatment
In a Support Bundle from the controller where this issue is occurring, open the "file-descriptors.txt" file and look for the library where the class indicated in the error is included. Two different versions of this library will appear loaded in the core or a same plugin.
Look for the right library version for the core or plugin version where it is being loaded and remove the other one.