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

java.lang.StackOverflowError ...at jenkins.model.lazy.AbstractLazyLoadRunMap$Index.ceilingEntry(AbstractLazyLoadRunMap.java:153)

      I just upgraded from 1.450 (+-) to 1.510. Got this error on an otherwhise working build. It works ok if I uncheck git tagging at the end of the build.

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 12.979s
      [INFO] Finished at: Mon Apr 15 07:27:22 CEST 2013
      [INFO] Final Memory: 122M/712M
      [INFO] ------------------------------------------------------------------------
      Archiving artifacts
      Recording test results
      Pushing tag DEV-80 to repo origin
      FATAL: null
      java.lang.StackOverflowError
      at java.util.TreeMap$AscendingSubMap.<init>(TreeMap.java:1699)
      at java.util.TreeMap.tailMap(TreeMap.java:905)
      at java.util.TreeMap.tailMap(TreeMap.java:940)
      at jenkins.model.lazy.AbstractLazyLoadRunMap$Index.ceilingEntry(AbstractLazyLoadRunMap.java:153)
      at jenkins.model.lazy.AbstractLazyLoadRunMap$Index.access$400(AbstractLazyLoadRunMap.java:121)
      at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:356)
      at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:321)
      at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1054)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1575)
      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:290)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:276)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:324)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:457)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1576)
      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:290)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:276)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:324)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:457)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1576)
      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:290)
      at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:276)
      at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:324)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:457)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1576)
      at hudson.model.User.getProjects(User.java:448)

          [JENKINS-17607] java.lang.StackOverflowError ...at jenkins.model.lazy.AbstractLazyLoadRunMap$Index.ceilingEntry(AbstractLazyLoadRunMap.java:153)

          ymajoros added a comment -

          Actually, my workaround doesn't seem to have any impact.

          It seems to work randomly, or after about 2 builds.

          ymajoros added a comment - Actually, my workaround doesn't seem to have any impact. It seems to work randomly, or after about 2 builds.

          kutzi added a comment -

          Seems like a problem caused of an interaction between the seemingly still buggy lazy build loading and the unholy mailaddress resolvers.
          Try to upgrade the cvs-plugin to the latest version resp. disable it if you don't need CVS

          kutzi added a comment - Seems like a problem caused of an interaction between the seemingly still buggy lazy build loading and the unholy mailaddress resolvers. Try to upgrade the cvs-plugin to the latest version resp. disable it if you don't need CVS

          Mark Waite added a comment -

          I don't know if it is related, but the git plugin has been through some major work recently as well. Since the stack trace is referencing git, have you checked to see if your git plugin is up to date? The most recent git plugin version is 1.3.0 and it depends on git-client-plugin 1.0.5

          Mark Waite added a comment - I don't know if it is related, but the git plugin has been through some major work recently as well. Since the stack trace is referencing git, have you checked to see if your git plugin is up to date? The most recent git plugin version is 1.3.0 and it depends on git-client-plugin 1.0.5

            vjuranek vjuranek
            ymajoros ymajoros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: