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

java.lang.ClassNotFoundException: org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue$SubscriptionConfig

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • sse-gateway-plugin
    • None
    • Debian

      Server Sent Events (SSE) Gateway Plugin: Version 1.27
      Jenkins: Version 2.485
      JDK: 21

      While booting Jenkins (standalone) I get this message:

      java.lang.ClassNotFoundException: org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue$SubscriptionConfig
              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:593)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
      Caused: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/ssegateway/SubscriptionConfigQueue$SubscriptionConfig
              at PluginClassLoader for sse-gateway//org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue.stop(SubscriptionConfigQueue.java:106)
              at PluginClassLoader for sse-gateway//org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.destroy(Endpoint.java:253)
              at io.jenkins.servlet.FilterWrapper$1.destroy(FilterWrapper.java:59)
              at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:232)
              at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3910)
              at jenkins.model.Jenkins.cleanUp(Jenkins.java:3607)
              at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:68)
              at jenkins.model.Jenkins$20.run(Jenkins.java:4664)
      
      

          [JENKINS-74906] java.lang.ClassNotFoundException: org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue$SubscriptionConfig

          Mark Waite added a comment - - edited

          I'm unable to duplicate the issue as reported. Can you provide more details so that others can duplicate the issue from a fresh Jenkins installation? There are helpful scripts included in "How to report an issue".

          Steps that I took while trying to duplicate the issue:

          1. Create a plugins.txt file that lists the installed plugins and their versions
          2. Create a run-jenkins.sh shell script that downloads Jenkins 2.485 and the plugins from plugins.txt
          3. Run the run-jenkins.sh shell script and complete the setup wizard by creating a new user and installing no additional plugins
          4. Confirm that the Jenkins console output does not report a class not found exception with my Eclipse Temurin Java 21.0.5 installation on AMD64 Debian Linux
          5. Create and run a Pipeline job then view it in Blue Ocean to confirm that Blue Ocean is working as expected

          Mark Waite added a comment - - edited I'm unable to duplicate the issue as reported. Can you provide more details so that others can duplicate the issue from a fresh Jenkins installation? There are helpful scripts included in "How to report an issue" . Steps that I took while trying to duplicate the issue: Create a plugins.txt file that lists the installed plugins and their versions Create a run-jenkins.sh shell script that downloads Jenkins 2.485 and the plugins from plugins.txt Run the run-jenkins.sh shell script and complete the setup wizard by creating a new user and installing no additional plugins Confirm that the Jenkins console output does not report a class not found exception with my Eclipse Temurin Java 21.0.5 installation on AMD64 Debian Linux Create and run a Pipeline job then view it in Blue Ocean to confirm that Blue Ocean is working as expected

            olamy Olivier Lamy
            steff Steven Hachel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: