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

NoSuchMethodError for library validation on folder configuration page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • 26.v47363215a_451

      When entering the shared library information on the folder configuration page, an error message is shown: "An internal error occurred during form field validation (HTTP 500). Please reload the page and if the problem persists, ask the administrator for help."

      The "validate" action still delivers success, and we were able to store the changes. The library override in fact works perfectly.

      However, when revisiting the folder configuration page, the angry Jenkins "Oops!" error page is shown embedded in the config UI (directly below the version input field). Again, the validate action works.

      The Jenkins logs shows following error log for both situations:

      java.lang.NoSuchMethodError: 'java.util.Collection org.jenkinsci.plugins.workflow.libs.LibraryResolver.fromConfiguration(org.kohsuke.stapler.StaplerRequest)'
          at PluginClassLoader for shared-library-version-override//io.jenkins.plugins.shared_library_version_override.LibraryCustomConfiguration$DescriptorImpl.doCheckVersion(LibraryCustomConfiguration.java:71)
          at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)

      We are using

      • Jenkins version 2.492.2
      • Shared Library Version Override 24.v102d8d8fd0cc 
      • Pipeline: Groovy Libraries 752.vdddedf804e72

      (Full list of plugins provided in Environment field.)

      Any idea of what's going on here?

            basil Basil Crow
            camshoff Christoph Amshoff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: