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

StackOverflowError involving findMailAddressFor

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • git-plugin
    • None

    Description

      When my Play Framework 2.1 project runs its tests, it fails with the error given below. I verified that emails can be sent by using the "Test configuration by sending test e-mail" button in "Configure system".

      If I can provide any additional information, please let me know.

      [info] Passed: : Total 3, Failed 0, Errors 0, Passed 3, Skipped 0
      [success] Total time: 58 s, completed Feb 17, 2013 5:50:12 PM
      [info] Generating Scala API documentation for main sources to /var/lib/jenkins/workspace/Athina-repo/repo/target/scala-2.10/api...
      model contains 17 documentable templates
      [info] Scala API documentation generation successful.
      [success] Total time: 11 s, completed Feb 17, 2013 5:50:23 PM
      Build step 'Build using sbt' changed build result to SUCCESS
      Publishing Javadoc
      Sending e-mails to: kaspar.fischer@dreizak.com
      FATAL: null
      java.lang.StackOverflowError
      at java.lang.String$CaseInsensitiveComparator.compare(String.java:1170)
      at java.lang.String.compareToIgnoreCase(String.java:1220)
      at hudson.model.User$1.compare(User.java:397)
      at hudson.model.User$1.compare(User.java:395)
      at java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)
      at java.util.TimSort.sort(TimSort.java:189)
      at java.util.TimSort.sort(TimSort.java:173)
      at java.util.Arrays.sort(Arrays.java:659)
      at java.util.Collections.sort(Collections.java:217)
      at hudson.model.User.getAll(User.java:395)
      at hudson.model.User$FullNameIdResolver.resolveCanonicalId(User.java:735)
      at hudson.model.User.get(User.java:326)
      at hudson.model.User.get(User.java:299)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:271)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
      at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:455)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1554)
      at hudson.model.User.getProjects(User.java:448)

      Attachments

        Issue Links

          Activity

            kasparfischer Kaspar Fischer created issue -
            kutzi kutzi made changes -
            Field Original Value New Value
            Component/s git [ 15543 ]
            kutzi kutzi added a comment -

            Looks like an infinite recursion in the Git plugin to me

            kutzi kutzi added a comment - Looks like an infinite recursion in the Git plugin to me
            kutzi kutzi made changes -
            Assignee Nicolas De Loof [ ndeloof ]
            janschaefer Jan Schäfer added a comment -

            Deactivating the CVS plugin solves the problem for us

            janschaefer Jan Schäfer added a comment - Deactivating the CVS plugin solves the problem for us
            kutzi kutzi made changes -
            Link This issue depends on JENKINS-16389 [ JENKINS-16389 ]
            kutzi kutzi made changes -
            Component/s cvs [ 15486 ]
            Component/s postbuild-task [ 16010 ]
            kutzi kutzi added a comment -

            Another example why MailAddressResolvers (as they are currently implemented) are a very bad idea.
            See also JENKINS-16389

            kutzi kutzi added a comment - Another example why MailAddressResolvers (as they are currently implemented) are a very bad idea. See also JENKINS-16389

            Jan, thanks for the hit. Your suggestion works for me, too – perfect workaround. Very much appreciated.

            kasparfischer Kaspar Fischer added a comment - Jan, thanks for the hit. Your suggestion works for me, too – perfect workaround. Very much appreciated.
            datr Dean Reilly added a comment -

            Upgrading to the latest CVS plugin version also seems to fix the problem.

            datr Dean Reilly added a comment - Upgrading to the latest CVS plugin version also seems to fix the problem.
            kutzi kutzi made changes -
            Link This issue is duplicated by JENKINS-16862 [ JENKINS-16862 ]
            kutzi kutzi made changes -
            Priority Major [ 3 ] Critical [ 2 ]

            Code changed in jenkins
            User: rsandell
            Path:
            gerrithudsontrigger/pom.xml
            gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerBuildChooser.java
            http://jenkins-ci.org/commit/gerrit-trigger-plugin/65271af7819f62d258ec1cadd70434129bf299c9
            Log:
            Fix For JENKINS-16851

            It is probably fixed in git plugin v. 1.1.29
            this commit should remove any use of deprecated APIs.
            But when I test this I gen something very similar to
            JENKINS-16849 at the end of the build.


            You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
            For more options, visit https://groups.google.com/groups/opt_out.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rsandell Path: gerrithudsontrigger/pom.xml gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerBuildChooser.java http://jenkins-ci.org/commit/gerrit-trigger-plugin/65271af7819f62d258ec1cadd70434129bf299c9 Log: Fix For JENKINS-16851 It is probably fixed in git plugin v. 1.1.29 this commit should remove any use of deprecated APIs. But when I test this I gen something very similar to JENKINS-16849 at the end of the build. – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

            I'v upgraded to git plugin to 1.1.29 but I have still similar problem:

            http://pastebin.com/T0CAh1bB

            Jenkins 1.502
            Linux frisco-builder 2.6.32-5-xen-amd64 #1 SMP Fri Sep 9 22:23:19 UTC 2011 x86_64 GNU/Linux
            Debian Squeeze

            ar2r Artur Bańkowski added a comment - I'v upgraded to git plugin to 1.1.29 but I have still similar problem: http://pastebin.com/T0CAh1bB Jenkins 1.502 Linux frisco-builder 2.6.32-5-xen-amd64 #1 SMP Fri Sep 9 22:23:19 UTC 2011 x86_64 GNU/Linux Debian Squeeze

            The stack trace given above has nothing to do with the CVS plugin - it's being caused by mailer trying to retrieve a user's address which uses the Git mail address resolver which checks the Git changeset to see if a user in involved in that change which checks a user property to see if their address is set.... which tries to retrieve the user.

            On a side note, the CVS mail address resolver has been removed from the CVS plugin as of today's release (2.8) so any related issue in the CVS plugin will no longer appear.

            mc1arke Michael Clarke added a comment - The stack trace given above has nothing to do with the CVS plugin - it's being caused by mailer trying to retrieve a user's address which uses the Git mail address resolver which checks the Git changeset to see if a user in involved in that change which checks a user property to see if their address is set.... which tries to retrieve the user. On a side note, the CVS mail address resolver has been removed from the CVS plugin as of today's release (2.8) so any related issue in the CVS plugin will no longer appear.
            mc1arke Michael Clarke made changes -
            Component/s cvs [ 15486 ]

            so, short term fix is to update cvs plugin.
            longer term fix is to stop creating jenkins User in a getter :-/

            ndeloof Nicolas De Loof added a comment - so, short term fix is to update cvs plugin. longer term fix is to stop creating jenkins User in a getter :-/

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            src/main/java/hudson/plugins/git/GitChangeSet.java
            http://jenkins-ci.org/commit/git-plugin/65c00213283c1e909a834467d9cd7a322e153594
            Log:
            JENKINS-16849 disable isMailerPropertySet
            need to be able to check Mailer.UserProperty#address is set without invoking MailAddressResolver

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/hudson/plugins/git/GitChangeSet.java http://jenkins-ci.org/commit/git-plugin/65c00213283c1e909a834467d9cd7a322e153594 Log: JENKINS-16849 disable isMailerPropertySet need to be able to check Mailer.UserProperty#address is set without invoking MailAddressResolver
            kutzi kutzi added a comment -

            @mc1arke: it's not true that this has nothing to do with the cvs-plugin:

            at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21)

            This is in fact the mail address resolver of the cvs-plugin (see https://github.com/jenkinsci/cvs-mail-address-resolver-plugin/blob/master/src/main/java/hudson/scm/MailAddressResolverImpl.java). This is also in sync with the reports that disabling the csv-plugin works around this issue.
            You're right that this has been moved to a new plugin in the mean time, but at the time of reporting this was an issue with the git-plugin AND the cvs-plugin.

            kutzi kutzi added a comment - @mc1arke: it's not true that this has nothing to do with the cvs-plugin: at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21) This is in fact the mail address resolver of the cvs-plugin (see https://github.com/jenkinsci/cvs-mail-address-resolver-plugin/blob/master/src/main/java/hudson/scm/MailAddressResolverImpl.java ). This is also in sync with the reports that disabling the csv-plugin works around this issue. You're right that this has been moved to a new plugin in the mean time, but at the time of reporting this was an issue with the git-plugin AND the cvs-plugin.
            kutzi kutzi added a comment -

            @Nicolas: I agree that it's ridiculous that UserProperty.getAddress() triggers a whole lot of (often) expensive lookups

            kutzi kutzi added a comment - @Nicolas: I agree that it's ridiculous that UserProperty.getAddress() triggers a whole lot of (often) expensive lookups
            stronk7 Eloy Lafuente added a comment -

            Note: We were having this same problem (running 1.1.29 and "Jenkins GIT client plugin" 1.0.1).

            Then, some minutes ago, I updated to "Jenkins GIT client plugin" 1.0.2 and things became really worse:

            FATAL: tried to access method org.jenkinsci.plugins.gitclient.CliGitAPIImpl.<init>(Ljava/lang/String;Ljava/io/File;Lhudson/model/TaskListener;Lhudson/EnvVars;)V from class hudson.plugins.git.GitSCM$2java.lang.IllegalAccessError: tried to access method org.jenkinsci.plugins.gitclient.CliGitAPIImpl.<init>(Ljava/lang/String;Ljava/io/File;Lhudson/model/TaskListener;Lhudson/EnvVars;)V from class hudson.plugins.git.GitSCM$2

            Sorry for the format, I've recovered this from a google search, because...

            Then I tried downgrading to 1.1.26 and now all my "git-based" jobs have disappeared. Literally.

            stronk7 Eloy Lafuente added a comment - Note: We were having this same problem (running 1.1.29 and "Jenkins GIT client plugin" 1.0.1). Then, some minutes ago, I updated to "Jenkins GIT client plugin" 1.0.2 and things became really worse: FATAL: tried to access method org.jenkinsci.plugins.gitclient.CliGitAPIImpl.<init>(Ljava/lang/String;Ljava/io/File;Lhudson/model/TaskListener;Lhudson/EnvVars;)V from class hudson.plugins.git.GitSCM$2java.lang.IllegalAccessError: tried to access method org.jenkinsci.plugins.gitclient.CliGitAPIImpl.<init>(Ljava/lang/String;Ljava/io/File;Lhudson/model/TaskListener;Lhudson/EnvVars;)V from class hudson.plugins.git.GitSCM$2 Sorry for the format, I've recovered this from a google search, because... Then I tried downgrading to 1.1.26 and now all my "git-based" jobs have disappeared. Literally.
            stronk7 Eloy Lafuente added a comment - - edited

            Aha, I managed to get the "git-based" jobs back by upgrading again to 1.1.29, and this is the complete output I'm getting (1.1.29 with 1.0.2):

            Building in workspace /Users/Shared/Jenkins/Home/git_repositories/master
            Checkout:master / /Users/Shared/Jenkins/Home/git_repositories/master - hudson.remoting.LocalChannel@7a88174c
            Using strategy: Default
            Last Built Revision: Revision aa247695e78c6cd574fdd720ab0aebffc169e2d9 (origin/master)
            FATAL: tried to access method org.jenkinsci.plugins.gitclient.CliGitAPIImpl.<init>(Ljava/lang/String;Ljava/io/File;Lhudson/model/TaskListener;Lhudson/EnvVars;)V from class hudson.plugins.git.GitSCM$2
            java.lang.IllegalAccessError: tried to access method org.jenkinsci.plugins.gitclient.CliGitAPIImpl.<init>(Ljava/lang/String;Ljava/io/File;Lhudson/model/TaskListener;Lhudson/EnvVars;)V from class hudson.plugins.git.GitSCM$2
            	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:940)
            	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:932)
            	at hudson.FilePath.act(FilePath.java:865)
            	at hudson.FilePath.act(FilePath.java:838)
            	at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:932)
            	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101)
            	at hudson.model.AbstractProject.checkout(AbstractProject.java:1342)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683)
            	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588)
            	at hudson.model.Run.execute(Run.java:1568)
            	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
            	at hudson.model.ResourceController.execute(ResourceController.java:88)
            	at hudson.model.Executor.run(Executor.java:237)
            

            Ciao

            stronk7 Eloy Lafuente added a comment - - edited Aha, I managed to get the "git-based" jobs back by upgrading again to 1.1.29, and this is the complete output I'm getting (1.1.29 with 1.0.2): Building in workspace /Users/Shared/Jenkins/Home/git_repositories/master Checkout:master / /Users/Shared/Jenkins/Home/git_repositories/master - hudson.remoting.LocalChannel@7a88174c Using strategy: Default Last Built Revision: Revision aa247695e78c6cd574fdd720ab0aebffc169e2d9 (origin/master) FATAL: tried to access method org.jenkinsci.plugins.gitclient.CliGitAPIImpl.<init>(Ljava/lang/ String ;Ljava/io/File;Lhudson/model/TaskListener;Lhudson/EnvVars;)V from class hudson.plugins.git.GitSCM$2 java.lang.IllegalAccessError: tried to access method org.jenkinsci.plugins.gitclient.CliGitAPIImpl.<init>(Ljava/lang/ String ;Ljava/io/File;Lhudson/model/TaskListener;Lhudson/EnvVars;)V from class hudson.plugins.git.GitSCM$2 at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:940) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:932) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:932) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101) at hudson.model.AbstractProject.checkout(AbstractProject.java:1342) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588) at hudson.model.Run.execute(Run.java:1568) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Ciao

            @stronk7 please don't mix comments about unrelated bugs. Open a fresh new one for this upgrade issue

            ndeloof Nicolas De Loof added a comment - @stronk7 please don't mix comments about unrelated bugs. Open a fresh new one for this upgrade issue

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            pom.xml
            src/main/java/hudson/plugins/git/GitChangeSet.java
            http://jenkins-ci.org/commit/git-plugin/832cb474c536b330b14a547f21c4bc1a79b85cb3
            Log:
            [FIXED JENKINS-16849] don't trigger MailAddressResolver invocation
            use hasExplicitlyConfiguredAddress (1.448) to check MailerProperty is set


            You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
            For more options, visit https://groups.google.com/groups/opt_out.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: pom.xml src/main/java/hudson/plugins/git/GitChangeSet.java http://jenkins-ci.org/commit/git-plugin/832cb474c536b330b14a547f21c4bc1a79b85cb3 Log: [FIXED JENKINS-16849] don't trigger MailAddressResolver invocation use hasExplicitlyConfiguredAddress (1.448) to check MailerProperty is set – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            kutzi kutzi made changes -
            Link This issue is duplicated by JENKINS-16906 [ JENKINS-16906 ]
            stronk7 Eloy Lafuente added a comment - - edited

            Sorry Nicolas, I did not open a new issue because:

            1) Looking for it, I already saw JENKINS-16886 (I forgot to put that piece of information in my early comments, sorry).
            2) I ended with that error applying / following your changes here.

            I'm running right now: 1.2.0 + 1.0.2 and it seems that everything is working (not getting the error in this issue nor in JENKINS-16886 anymore).

            Ciao

            Edited: And big thanks!

            stronk7 Eloy Lafuente added a comment - - edited Sorry Nicolas, I did not open a new issue because: 1) Looking for it, I already saw JENKINS-16886 (I forgot to put that piece of information in my early comments, sorry). 2) I ended with that error applying / following your changes here. I'm running right now: 1.2.0 + 1.0.2 and it seems that everything is working (not getting the error in this issue nor in JENKINS-16886 anymore). Ciao Edited: And big thanks!
            stronk7 Eloy Lafuente made changes -
            Link This issue is related to JENKINS-16886 [ JENKINS-16886 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-16892 [ JENKINS-16892 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-17607 [ JENKINS-17607 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 147678 ] JNJira + In-Review [ 206415 ]

            People

              ndeloof Nicolas De Loof
              kasparfischer Kaspar Fischer
              Votes:
              11 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: