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.
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.