org.springframework.dao.DataRetrievalFailureException: The user 'john doe _john.doe@example.com_' does not have the permission to login and/or is not a member of the following user group(s) in your Crowd server: '[jira-users]'

Jenkins JIRA | Sorin Sbarnea | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    It seems that the code for doing the lookup for Crowd users is broken because the log is full of severe!? messages like ones below even if I am sure that these users are inside the Crowd directory. You may observe the strange way the user is formatted on the error. Also all these users are inside the Crowd directory and members of the jira-users group. My impression is that the plugin is trying to lookup the users by their visual name instead of their email address. {noformat} Mar 31, 2015 12:17:47 PM de.theit.jenkins.crowd.CrowdMailAddressResolverImpl findMailAddressFor SEVERE: Access exception trying to look up email address in Crowd org.springframework.dao.DataRetrievalFailureException: The user 'john doe _john.doe@example.com_' does not have the permission to login and/or is not a member of the following user group(s) in your Crowd server: '[jira-users]' at de.theit.jenkins.crowd.CrowdUserDetailsService.loadUserByUsername(CrowdUserDetailsService.java:96) at de.theit.jenkins.crowd.CrowdSecurityRealm.loadUserByUsername(CrowdSecurityRealm.java:305) at de.theit.jenkins.crowd.CrowdMailAddressResolverImpl.findMailAddressFor(CrowdMailAddressResolverImpl.java:83) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:122) {noformat}

    Jenkins JIRA | 2 years ago | Sorin Sbarnea
    org.springframework.dao.DataRetrievalFailureException: The user 'john doe _john.doe@example.com_' does not have the permission to login and/or is not a member of the following user group(s) in your Crowd server: '[jira-users]'
  2. 0

    It seems that the code for doing the lookup for Crowd users is broken because the log is full of severe!? messages like ones below even if I am sure that these users are inside the Crowd directory. You may observe the strange way the user is formatted on the error. Also all these users are inside the Crowd directory and members of the jira-users group. My impression is that the plugin is trying to lookup the users by their visual name instead of their email address. {noformat} Mar 31, 2015 12:17:47 PM de.theit.jenkins.crowd.CrowdMailAddressResolverImpl findMailAddressFor SEVERE: Access exception trying to look up email address in Crowd org.springframework.dao.DataRetrievalFailureException: The user 'john doe _john.doe@example.com_' does not have the permission to login and/or is not a member of the following user group(s) in your Crowd server: '[jira-users]' at de.theit.jenkins.crowd.CrowdUserDetailsService.loadUserByUsername(CrowdUserDetailsService.java:96) at de.theit.jenkins.crowd.CrowdSecurityRealm.loadUserByUsername(CrowdSecurityRealm.java:305) at de.theit.jenkins.crowd.CrowdMailAddressResolverImpl.findMailAddressFor(CrowdMailAddressResolverImpl.java:83) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:122) {noformat}

    Jenkins JIRA | 2 years ago | Sorin Sbarnea
    org.springframework.dao.DataRetrievalFailureException: The user 'john doe _john.doe@example.com_' does not have the permission to login and/or is not a member of the following user group(s) in your Crowd server: '[jira-users]'

    Root Cause Analysis

    1. org.springframework.dao.DataRetrievalFailureException

      The user 'john doe _john.doe@example.com_' does not have the permission to login and/or is not a member of the following user group(s) in your Crowd server: '[jira-users]'

      at de.theit.jenkins.crowd.CrowdUserDetailsService.loadUserByUsername()
    2. de.theit.jenkins
      CrowdMailAddressResolverImpl.findMailAddressFor
      1. de.theit.jenkins.crowd.CrowdUserDetailsService.loadUserByUsername(CrowdUserDetailsService.java:96)
      2. de.theit.jenkins.crowd.CrowdSecurityRealm.loadUserByUsername(CrowdSecurityRealm.java:305)
      3. de.theit.jenkins.crowd.CrowdMailAddressResolverImpl.findMailAddressFor(CrowdMailAddressResolverImpl.java:83)
      3 frames
    3. Hudson
      MailAddressResolver.resolve
      1. hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:122)
      1 frame