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

ClassNotFoundException: RuntimeDelegateImpl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core, jira-plugin
    • None

      After upgrading to newer Jenkins version and newer plugins, started to receive runtime errors about missing class. Errors appearing in pod output or job output, as it contains Jira plugin classes, I assume it is related with Jira plugin?
      Jira related plugins versions were not updated, so something changed in core?
      Previous version, where I have it working was 2.303.2

      java.lang.ClassNotFoundException: org.glassfish.jersey.internal.RuntimeDelegateImpl
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1417)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1372)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1127)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
      	at java.base/java.lang.Class.forName0(Native Method)
      	at java.base/java.lang.Class.forName(Class.java:315)
      	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:87)
      	at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:185)
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:111)
      Caused: java.lang.RuntimeException
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:129)
      	at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:96)
      	at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:72)
      	at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:83)
      	at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClient.<init>(AsynchronousJiraRestClient.java:58)
      	at hudson.plugins.jira.extension.ExtendedAsynchronousJiraRestClient.<init>(ExtendedAsynchronousJiraRestClient.java:14)
      	at hudson.plugins.jira.JiraSite$ExtendedAsynchronousJiraRestClientFactory.create(JiraSite.java:647)
      	at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:554)
      	at hudson.plugins.jira.JiraSite.getSession(JiraSite.java:523)
      	at hudson.plugins.jira.JiraSite.get(JiraSite.java:1383)
      	at hudson.plugins.jira.JiraJobAction$RunListenerImpl.onStarted(JiraJobAction.java:127)
      	at hudson.plugins.jira.JiraJobAction$RunListenerImpl.onStarted(JiraJobAction.java:122)
      	at hudson.model.listeners.RunListener.fireStarted(RunListener.java:237)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:302)
      	at hudson.model.ResourceController.execute(ResourceController.java:99)
      	at hudson.model.Executor.run(Executor.java:432)

            Unassigned Unassigned
            oskaraskurmis Oskaras Kurmis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: