Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73745

java.lang.NoSuchMethodError: 'void org.springframework.util.Assert.isTrue(boolean)'

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ldap-plugin
    • Jenkins 2.475
      CentOs 9
    • 733.vd3700c27b_043

      Jenkins web dashboard works fine, but when trying to log in, thist page is displayed:

      URL: https://<server>/j_spring_security_check

       

      /var/log/messages:

      Sep 10 11:06:56 <server> jenkins[97353]: 2024-09-10 09:06:56.305+0000 [id=14]#011WARNING#011h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 8dac7e6e-b77f-42fc-afc2-07f21a32fdf7
      Sep 10 11:06:56 <server> jenkins[97353]: java.lang.NoSuchMethodError: 'void org.springframework.util.Assert.isTrue(boolean)'
      Sep 10 11:06:56 <server> jenkins[97353]: #011at PluginClassLoader for ldap//org.springframework.ldap.support.LdapUtils$CollectingAttributeValueCallbackHandler.handleAttributeValue(LdapUtils.java:343)
      Sep 10 11:06:56 <server> jenkins[97353]: #011at PluginClassLoader for ldap//org.springframework.ldap.support.LdapUtils.handleAttributeValue(LdapUtils.java:321)
      Sep 10 11:06:56 <server> jenkins[97353]: #011at PluginClassLoader for ldap//org.springframework.ldap.support.LdapUtils.iterateAttributeValues(LdapUtils.java:305)
      Sep 10 11:06:56 <server> jenkins[97353]: #011at PluginClassLoader for ldap//org.springframework.ldap.support.LdapUtils.collectAttributeValues(LdapUtils.java:287)
      Sep 10 11:06:56 <server> jenkins[97353]: #011at PluginClassLoader for ldap//org.springframework.ldap.core.DirContextAdapter.collectAttributeValuesAsList(DirContextAdapter.java:787)
      .....

       

          [JENKINS-73745] java.lang.NoSuchMethodError: 'void org.springframework.util.Assert.isTrue(boolean)'

          Andreas created issue -
          Basil Crow made changes -
          Assignee New: Basil Crow [ basil ]

          Basil Crow added a comment -

          Users of the LDAP plugin must upgrade it to version 733.vd3700c27b_043. in lockstep with upgrading Jenkins core 2.475 or newer.

          Basil Crow added a comment - Users of the LDAP plugin must upgrade it to version 733.vd3700c27b_043 . in lockstep with upgrading Jenkins core 2.475 or newer.
          Basil Crow made changes -
          Released As New: 733.vd3700c27b_043
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          Andreas added a comment -

          Hi Basil, 

          thanks for the hint. Works perfectly. Sorry for not checking upfront.

          Andreas

          Andreas added a comment - Hi Basil,  thanks for the hint. Works perfectly. Sorry for not checking upfront. Andreas

          Frank added a comment -

          it might be useful to note that you can use the jenkins-plugin-manager CLI tool to accomplish this:

          java -jar jenkins-plugin-manager-*.jar --war /your/path/to/jenkins.war --plugin-download-directory /your/path/to/plugins/ --plugins ldap:733.vd3700c27b_043 

           

           

          Frank added a comment - it might be useful to note that you can use the jenkins-plugin-manager CLI tool to accomplish this: java -jar jenkins-plugin-manager-*.jar --war /your/path/to/jenkins.war --plugin-download-directory /your/path/to/plugins/ --plugins ldap:733.vd3700c27b_043    

          Phil R added a comment -

          Just ran into the same issue, thou pretty much all of jenkins ui is gone after the update to 2.480.

          I rolled the install back to 2.473 via our package manager.

          Then looking on jenkins 2.473, there is no option to update ldap from the plugin manager.

          Latest version shown in the plugin manager is LDAP Plugin Version 725.v3cb_b_711b_1a_ef 

           

           

          Phil R added a comment - Just ran into the same issue, thou pretty much all of jenkins ui is gone after the update to 2.480. I rolled the install back to 2.473 via our package manager. Then looking on jenkins 2.473, there is no option to update ldap from the plugin manager. Latest version shown in the plugin manager is LDAP Plugin Version 725.v3cb_b_711b_1a_ef     
          Basil Crow made changes -
          Link New: This issue is duplicated by JENKINS-74787 [ JENKINS-74787 ]
          James Howe made changes -
          Comment [ [~frank_spg] that gives this error:
          {quote}Error: Unable to access jarfile jenkins-plugin-manager-*.jar
          {quote} ]

          It's wonderful! Users must upgrade, and nobody cares that UI is not working. Just do it somehow!

          Dmitry Mikhirev added a comment - It's wonderful! Users must upgrade, and nobody cares that UI is not working. Just do it somehow!

            basil Basil Crow
            harff Andreas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: