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

Unable to configure OAuth plugin

XMLWordPrintable

      Hi Team,

      We were using poll mail trigger to fetch data from sharedmail box to SFTP in windows .
      Microsoft has updated to OAuth .
      We have install OAuth plugin and while adding credenatials it is throwing error 

      WARNING    h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 253bacab-decd-4406-9948-bf121cac37a8
      org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of interface com.google.jenkins.plugins.credentials.oauth.OAuth2Credentials
          at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:288)
          at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:837)
          at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:85)
          at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:741)
      Caused: java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from {"stapler-class":"com.google.jenkins.plugins.credentials.oauth.OAuth2Credentials","$class":"com.google.jenkins.plugins.credentials.oauth.OAuth2Credentials"}
          at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:744)

      Regards,
      Jeelani

            Unassigned Unassigned
            jeelani Jeelani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: