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

Error while integrating jenkins and jira

    Details

    • Similar Issues:

      Description

      java.lang.ClassCastException: Cannot cast com.att.aft.dme2.internal.jersey.core.impl.provider.header.LocaleProvider to com.sun.jersey.spi.HeaderDelegateProvider
       at java.lang.Class.cast(Class.java:3369)
       at com.sun.jersey.spi.service.ServiceFinder$LazyObjectIterator.hasNext(ServiceFinder.java:833)
       at com.sun.jersey.core.spi.factory.AbstractRuntimeDelegate.<init>(AbstractRuntimeDelegate.java:76)
       at com.sun.ws.rs.ext.RuntimeDelegateImpl.<init>(RuntimeDelegateImpl.java:56)
       at sun.reflect.GeneratedConstructorAccessor303.newInstance(Unknown Source)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
       at java.lang.Class.newInstance(Class.java:442)
       at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:65)
       Caused: java.lang.ClassNotFoundException: Provider com.sun.ws.rs.ext.RuntimeDelegateImpl could not be instantiated
       at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:69)
       at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155)
       at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105)

       

        Attachments

          Activity

          Hide
          warden Radek Antoniuk added a comment -

          The stacktrace you posted doesn't even mention the plugin, it doesn't even mention hudson/jenkins, but you can see java.lang.ClassNotFoundException. Can you add more info? Jenkins and plugin version? when are you executing getting this stracktrace?

          Show
          warden Radek Antoniuk added a comment - The stacktrace you posted doesn't even mention the plugin, it doesn't even mention hudson/jenkins, but you can see java.lang.ClassNotFoundException . Can you add more info? Jenkins and plugin version? when are you executing getting this stracktrace?
          Hide
          jw2454 Jack Wang added a comment -

          I may be experiencing the same issue, at least the stack trace looks identical in my case.  I'm getting this exact same error stack trace when clicking "Validate Settings" in Jenkins configuration page.

          Jenkins Ver. 2.164.3

          Jira Plugin v3.0.7

          Show
          jw2454 Jack Wang added a comment - I may be experiencing the same issue, at least the stack trace looks identical in my case.  I'm getting this exact same error stack trace when clicking "Validate Settings" in Jenkins configuration page. Jenkins Ver. 2.164.3 Jira Plugin v3.0.7
          Hide
          narenit naren dran added a comment -

          Hi Ekjyot Kaur

           

          Use API token for login to Jira from Jenkins. To generate API token use https://id.atlassian.com/manage/api-tokens?_ga=2.26188029.1916145857.1566273253-2005466884.1566273253 this link to generate.

           

          Cheers

          Naren

          Show
          narenit naren dran added a comment - Hi Ekjyot Kaur   Use API token for login to Jira from Jenkins. To generate API token use https://id.atlassian.com/manage/api-tokens?_ga=2.26188029.1916145857.1566273253-2005466884.1566273253  this link to generate.   Cheers Naren
          Hide
          rodrigc Craig Rodrigues added a comment -

          Fixed in plugin 3.0.12

          Show
          rodrigc Craig Rodrigues added a comment - Fixed in plugin 3.0.12

            People

            • Assignee:
              Unassigned
              Reporter:
              ek506e Ekjyot Kaur
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: