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

3 views
Skip to first unread message

cody@codykonior.com (JIRA)

unread,
Oct 18, 2016, 10:23:01 PM10/18/16
to jenkinsc...@googlegroups.com
Cody Konior created an issue
 
Jenkins / Bug JENKINS-39090
Upgrade from Credentials 2.1.6 to Credentials 2.1.7 prevents logins
Issue Type: Bug Bug
Assignee: Stephen Connolly
Components: credentials-plugin
Created: 2016/Oct/19 2:22 AM
Environment: Jenkins 2.26, JRE 1.8.0_101-b13 x64, Windows Server 2012 R2,
Priority: Major Major
Reporter: Cody Konior

I've been using Credentials plugin 1.2.6 with project-based AD security.

Today after upgrading to Credentials plugin 1.2.7 I was unable to login. I restarted Jenkins, I would get the login screen, but after entering credentials nothing would happen.

I restarted a few times before rolling back by removing the credentials.jpi and restoring the .bak. After restarting Jenkins logins were working again.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

cody@codykonior.com (JIRA)

unread,
Oct 18, 2016, 10:24:04 PM10/18/16
to jenkinsc...@googlegroups.com
Cody Konior updated an issue
Change By: Cody Konior
I've been using Credentials plugin 1. 2. 1. 6 with project-based AD security.

Today after upgrading to Credentials plugin
1. 2. 1. 7 I was unable to login. I restarted Jenkins, I would get the login screen, but after entering credentials nothing would happen.


I restarted a few times before rolling back by removing the credentials.jpi and restoring the .bak. After restarting Jenkins logins were working again.

stephen.alan.connolly@gmail.com (JIRA)

unread,
Oct 19, 2016, 4:13:01 AM10/19/16
to jenkinsc...@googlegroups.com
Stephen Connolly closed an issue as Cannot Reproduce
 
  • No startup log supplied
  • No working version of credentials supplied
  • A clean Jenkins 2.26 with Credentials 2.1.7 starts up without issue
  • The diff cannot have any effect on the login form
  • There is no dependency relationship between the active directory plugin and the credentials plugin

If you can supply the start-up log and the version of credentials that was working for you, please feel free to re-open, otherwise this issue is "Cannot Reproduce" as based on the information you provided I have been unable to reproduce this

Change By: Stephen Connolly
Status: Open Closed
Resolution: Cannot Reproduce

stephen.alan.connolly@gmail.com (JIRA)

unread,
Oct 19, 2016, 4:29:02 AM10/19/16
to jenkinsc...@googlegroups.com
Stephen Connolly commented on Bug JENKINS-39090
 
Re: Upgrade from Credentials 2.1.6 to Credentials 2.1.7 prevents logins

Also check if this is a dupe of JENKINS-36446 (i.e. do you have the git plugin installed, did your startup log contain:

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)
        // SNIP
	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)
        //SNIP
  • the critical lines being org.jenkinsci.plugins.github.migration.Migrator.migrate(Migrator.java:40) working its way towards java.lang.NoSuchMethodError: com.cloudbees.plugins.credentials.Messages.CredentialsProviderFilter_None_DisplayName()Ljava/lang/String; exception)
Reply all
Reply to author
Forward
0 new messages