ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • 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.

            Assignee:
            Thycotic Dev
            Reporter:
            thetenor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: