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

Plugin error on Jenkins 2.462.x - java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • Jenkins 2.462.2 - kubernetes version
      hp-application-automation-tools-plugin:24.2

      We are upgrading Jenkins from 2.452.2 to 2.462.2

       

      When we start the new version of Jenkins, we have the following errors : 

      2024-09-05 08:56:31.102+0000 [id=33]    WARNING hudson.ExtensionFinder$Sezpoz#scout: Failed to scout com.microfocus.application.automation.tools.octane.actions.Webhooks
      java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileItemFactory
              at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
              at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:64)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
      Caused: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory
              at PluginClassLoader for hp-application-automation-tools-plugin//com.microfocus.application.automation.tools.octane.configuration.SDKBasedLoggerProvider.getLogger(SDKBasedLoggerProvider.java:64)
              at PluginClassLoader for hp-application-automation-tools-plugin//com.microfocus.application.automation.tools.octane.actions.Webhooks.<clinit>(Webhooks.java:74)

      ...

       

      I've just saw that Jenkins Changelog is specifing we need to wait for a compatible plugin :

      • Upgrade Commons FileUpload from 1.5 to 2.0.0-M2. Users of the SAML Single Sign On (SSO) (miniorange-saml-sp) plugin should upgrade to a compatible version in lockstep with upgrading Jenkins core. Users of the OpenText Application Automation Tools (hp-application-automation-tools-plugin) plugin should wait for a compatible version before upgrading Jenkins core. Apache Commons 2.0.0-M2 release notes

      When do you plan to release it ?

       

      Thank you.

            ptofan Paul-Adrian Tofan
            chrismcx Christophe MICHAUX
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: