java.lang.NoSuchMethodError: com.cloudbees.plugins.credentials.Messages.CredentialsProviderFilter_None_DisplayName()Ljava/lang/<span class="code-object" style="color: #910091">String</span>;

Google Groups | jen...@feraudet.com (JIRA) | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JIRA] (JENKINS-36446) Bug when change auth system

    Google Groups | 10 months ago | jen...@feraudet.com (JIRA)
    java.lang.NoSuchMethodError: com.cloudbees.plugins.credentials.Messages.CredentialsProviderFilter_None_DisplayName()Ljava/lang/<span class="code-object" style="color: #910091">String</span>;
  2. 0

    Hi, When I switched from Local auth to LDAP auth this happen : (rollback to local auth does not solve the issue) {code} webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") Jul 05, 2016 4:08:12 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @500ms Jul 05, 2016 4:08:12 PM winstone.Logger logInternal INFO: Beginning extraction from war file Jul 05, 2016 4:08:12 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Empty contextPath Jul 05, 2016 4:08:12 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-9.2.z-SNAPSHOT Jul 05, 2016 4:08:13 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME") Jul 05, 2016 4:08:14 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started w.@4cbd23c8{/,file:/var/lib/jenkins/war/,AVAILABLE}{/var/lib/jenkins/war} Jul 05, 2016 4:08:14 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started ServerConnector@68aee2a2{HTTP/1.1}{0.0.0.0:8080} Jul 05, 2016 4:08:14 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started @1930ms Jul 05, 2016 4:08:14 PM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled Jul 05, 2016 4:08:14 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Jul 05, 2016 4:08:15 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Jul 05, 2016 4:08:16 PM hudson.plugins.ansicolor.PluginImpl start INFO: AnsiColor: eliminating boring output (https://github.com/dblock/jenkins-ansicolor-plugin) Jul 05, 2016 4:08:16 PM ruby.RubyRuntimePlugin start INFO: Injecting JRuby into XStream Jul 05, 2016 4:08:22 PM org.terracotta.jenkins.plugins.postcompleted.PostCompletedPlugin start INFO: Starting PostCompletedPlugin Jul 05, 2016 4:08:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Jul 05, 2016 4:08:30 PM org.jenkinsci.plugins.sysloglogger.SyslogLoggerPlugin applySettings INFO: Jenkins configured to output log messages to syslog server 172.17.42.1:514 on transport UDP Jul 05, 2016 4:08:30 PM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: com.cloudbees.plugins.credentials.Messages.CredentialsProviderFilter_None_DisplayName()Ljava/lang/String; at com.cloudbees.plugins.credentials.CredentialsProviderFilter$None$DescriptorImpl.getDisplayName(CredentialsProviderFilter.java:161) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.getComponents(ExtensionList.java:167) at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.ExtensionList.get(ExtensionList.java:147) at com.cloudbees.jenkins.GitHubPushTrigger$DescriptorImpl.get(GitHubPushTrigger.java:329) at org.jenkinsci.plugins.github.migration.Migrator.migrate(Migrator.java:40) at org.jenkinsci.plugins.github.GitHubPlugin.postInitialize(GitHubPlugin.java:39) at hudson.PluginManager$2$1$2.run(PluginManager.java:429) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code} Someone have an idea ? Regards, Cyril

    Jenkins JIRA | 10 months ago | Cyril Feraudet
    java.lang.NoSuchMethodError: com.cloudbees.plugins.credentials.Messages.CredentialsProviderFilter_None_DisplayName()Ljava/lang/String;
  3. 0

    [JIRA] (JENKINS-39090) Upgrade from Credentials 2.1.6 to Credentials 2.1.7 prevents logins

    Google Groups | 6 months ago | co...@codykonior.com (JIRA)
    java.lang.NoSuchMethodError: com.cloudbees.plugins.credentials.Messages.CredentialsProviderFilter_None_DisplayName()Ljava/lang/<span class="code-object" style="color: #910091">String</span>;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This is due to an incorrect build of the 2.1 jar file. h3. Impacts This affects 6.3-OD1 (released on 31 Mar 2014). It affects GitHub synchronization where there's at least one PR. h3. Cause It is causing the wrong egit {{PullRequest}} class to be loaded into the jar in the original 2.1 jar file uploaded to maven.atlassian.com. The DVCS Connector has its own copy of egit {{PullRequest}} class but it's not properly included in the original 2.1 jar file. In original 2.1 jar file: {code} 2014-03-12 13:16:08 ..... 7489 2140 org/eclipse/egit/github/core/PullRequest.class {code} In the 2.1.3 jar file (with the correct {{PullRequest}} class): {code} 2012-12-03 17:10:00 ..... 7276 2062 org/eclipse/egit/github/core/PullRequest.class {code} This affected the 6.3 OD1 release, with the following errors when synchronizing GitHub requests: {quote} @40000000533ca2100c23c3e4 2014-04-03 10:49:26,200 pool-15-thread-1 ERROR nmason 649x480x1 esyrp 59.167.133.1,59.167.29.201 /rest/bitbucket/1.0/repository/12/fullsync [dvcs.service.message.MessageConsumer] org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100c23d384 java.lang.NoSuchMethodError: org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100c23d76c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateCommentsCount(GitHubPullRequestSynchronizeMessageConsumer.java:292) @40000000533ca2100c241204 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.processPullRequestComments(GitHubPullRequestSynchronizeMessageConsumer.java:242) @40000000533ca2100c2415ec at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:109) @40000000533ca2100c241dbc at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40) @40000000533ca2100c2421a4 at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:273) @40000000533ca2100c243144 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @40000000533ca2100c24352c at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @40000000533ca2100c24352c at java.lang.Thread.run(Thread.java:662) @40000000533ca2100d074614 Exception in thread "pool-15-thread-1" java.lang.NoSuchMethodError: org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100d07c314 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateCommentsCount(GitHubPullRequestSynchronizeMessageConsumer.java:292) @40000000533ca2100d07f1f4 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.processPullRequestComments(GitHubPullRequestSynchronizeMessageConsumer.java:242) @40000000533ca2100d08539c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:109) @40000000533ca2100d08633c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40) @40000000533ca2100d08b15c at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:273) @40000000533ca2100d08e80c at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @40000000533ca2100d095d3c at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @40000000533ca2100d096124 at java.lang.Thread.run(Thread.java:662) {quote} We could not rebuild and redeploy a good version due to https://ecosystem.atlassian.net/browse/AMPS-1112

    Atlassian JIRA | 3 years ago | Zehua Liu [Atlassian]
    java.lang.NoSuchMethodError: org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100c23d76c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateCommentsCount(GitHubPullRequestSynchronizeMessageConsumer.java:292) @40000000533ca2100c241204 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.processPullRequestComments(GitHubPullRequestSynchronizeMessageConsumer.java:242) @40000000533ca2100c2415ec at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:109) @40000000533ca2100c241dbc at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40) @40000000533ca2100c2421a4 at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:273) @40000000533ca2100c243144 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  6. 0

    This is due to an incorrect build of the 2.1 jar file. h3. Impacts This affects 6.3-OD1 (released on 31 Mar 2014). It affects GitHub synchronization where there's at least one PR. h3. Cause It is causing the wrong egit {{PullRequest}} class to be loaded into the jar in the original 2.1 jar file uploaded to maven.atlassian.com. The DVCS Connector has its own copy of egit {{PullRequest}} class but it's not properly included in the original 2.1 jar file. In original 2.1 jar file: {code} 2014-03-12 13:16:08 ..... 7489 2140 org/eclipse/egit/github/core/PullRequest.class {code} In the 2.1.3 jar file (with the correct {{PullRequest}} class): {code} 2012-12-03 17:10:00 ..... 7276 2062 org/eclipse/egit/github/core/PullRequest.class {code} This affected the 6.3 OD1 release, with the following errors when synchronizing GitHub requests: {quote} @40000000533ca2100c23c3e4 2014-04-03 10:49:26,200 pool-15-thread-1 ERROR nmason 649x480x1 esyrp 59.167.133.1,59.167.29.201 /rest/bitbucket/1.0/repository/12/fullsync [dvcs.service.message.MessageConsumer] org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100c23d384 java.lang.NoSuchMethodError: org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100c23d76c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateCommentsCount(GitHubPullRequestSynchronizeMessageConsumer.java:292) @40000000533ca2100c241204 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.processPullRequestComments(GitHubPullRequestSynchronizeMessageConsumer.java:242) @40000000533ca2100c2415ec at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:109) @40000000533ca2100c241dbc at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40) @40000000533ca2100c2421a4 at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:273) @40000000533ca2100c243144 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @40000000533ca2100c24352c at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @40000000533ca2100c24352c at java.lang.Thread.run(Thread.java:662) @40000000533ca2100d074614 Exception in thread "pool-15-thread-1" java.lang.NoSuchMethodError: org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100d07c314 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateCommentsCount(GitHubPullRequestSynchronizeMessageConsumer.java:292) @40000000533ca2100d07f1f4 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.processPullRequestComments(GitHubPullRequestSynchronizeMessageConsumer.java:242) @40000000533ca2100d08539c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:109) @40000000533ca2100d08633c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40) @40000000533ca2100d08b15c at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:273) @40000000533ca2100d08e80c at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @40000000533ca2100d095d3c at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @40000000533ca2100d096124 at java.lang.Thread.run(Thread.java:662) {quote} We could not rebuild and redeploy a good version due to https://ecosystem.atlassian.net/browse/AMPS-1112

    Atlassian JIRA | 3 years ago | Zehua Liu [Atlassian]
    java.lang.NoSuchMethodError: org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100c23d76c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateCommentsCount(GitHubPullRequestSynchronizeMessageConsumer.java:292) @40000000533ca2100c241204 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.processPullRequestComments(GitHubPullRequestSynchronizeMessageConsumer.java:242) @40000000533ca2100c2415ec at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:109) @40000000533ca2100c241dbc at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40) @40000000533ca2100c2421a4 at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:273) @40000000533ca2100c243144 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.cloudbees.plugins.credentials.Messages.CredentialsProviderFilter_None_DisplayName()Ljava/lang/<span class="code-object" style="color: #910091">String</span>;

      at com.cloudbees.plugins.credentials.CredentialsProviderFilter$None$DescriptorImpl.getDisplayName()
    2. com.cloudbees.plugins
      CredentialsProviderFilter$None$DescriptorImpl.getDisplayName
      1. com.cloudbees.plugins.credentials.CredentialsProviderFilter$None$DescriptorImpl.getDisplayName(CredentialsProviderFilter.java:161)
      1 frame
    3. Hudson
      ExtensionComponent.compareTo
      1. hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97)
      2. hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42)
      2 frames
    4. Java RT
      Collections.sort
      1. java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232)
      2. java.util.ComparableTimSort.sort(ComparableTimSort.java:176)
      3. java.util.ComparableTimSort.sort(ComparableTimSort.java:146)
      4. java.util.Arrays.sort(Arrays.java:472)
      5. java.util.Collections.sort(Collections.java:155)
      5 frames
    5. Hudson
      ExtensionList.get
      1. hudson.ExtensionList.sort(ExtensionList.java:369)
      2. hudson.ExtensionList.ensureLoaded(ExtensionList.java:289)
      3. hudson.ExtensionList.getComponents(ExtensionList.java:167)
      4. hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185)
      5. hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
      6. hudson.ExtensionList.iterator(ExtensionList.java:156)
      7. hudson.ExtensionList.get(ExtensionList.java:147)
      7 frames
    6. com.cloudbees.jenkins
      GitHubPushTrigger$DescriptorImpl.get
      1. com.cloudbees.jenkins.GitHubPushTrigger$DescriptorImpl.get(GitHubPushTrigger.java:329)
      1 frame
    7. org.jenkinsci.plugins
      GitHubPlugin.postInitialize
      1. org.jenkinsci.plugins.github.migration.Migrator.migrate(Migrator.java:40)
      2. org.jenkinsci.plugins.github.GitHubPlugin.postInitialize(GitHubPlugin.java:39)
      2 frames
    8. Hudson
      PluginManager$2$1$2.run
      1. hudson.PluginManager$2$1$2.run(PluginManager.java:429)
      1 frame
    9. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      2 frames
    10. jenkins.model
      Jenkins$8.runTask
      1. jenkins.model.Jenkins$8.runTask(Jenkins.java:1009)
      1 frame
    11. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      2 frames
    12. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames