-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: thycotic-secret-server-plugin
-
None
-
Environment:Delinea jenkins plugin 2.1.0, Jenkins version 2.585
Environment
Â
Jenkins: 2.585
Plugin: Delinea Secret Server Platform 2.1.0
Â
Issue
Â
Any save operation on "Manage Jenkins -> System" fails, even without any modifications or when modifying unrelated settings.
Â
Error:
java.lang.ClassNotFoundException:
org.apache.commons.lang.StringUtils
Â
Caused by:
java.lang.NoClassDefFoundError:
org/apache/commons/lang/StringUtils
Â
Stack trace points to (see attached image):
com.delinea.secrets.jenkins.wrapper.cred.ServerConfiguration.setBaseUrl()
Â
The relevant code is:
Â
import org.apache.commons.lang.StringUtils;
...
line 167 this.baseUrl = StringUtils.removeEnd(baseUrl, "/");
Â
Observations:
- Plugin bundles commons-lang3-3.9.jar.
- Plugin does not bundle commons-lang 2.x.
- Plugin manifest declares only:
    Plugin-Dependencies=credentials-binding:687.v619cb_15e923f
 - The exception occurs while Jenkins binds the Delinea configuration during System page save.
Â
Workaround:
Manually adding commons-lang-2.x.jar to the plugin runtime allows the save operation to proceed.
- links to