Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      ubuntu
    • Similar Issues:

      Description

      Hi,

      I have the following error at the end of the build :

      [INFO] [17:58:41.251] Executing post-job class org.sonar.plugins.buildbreaker.AlertBreaker
      [WARN] [17:58:41.252] Rules compliance < 90
      [WARN] [17:58:41.252] Coverage < 80
      [INFO] [17:58:41.252] Executing post-job class org.sonar.plugins.buildbreaker.ForbiddenConfigurationBreaker
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2 minutes 12 seconds
      [INFO] Finished at: Wed Feb 20 17:58:41 CET 2013
      [INFO] Final Memory: 60M/495M
      [INFO] ------------------------------------------------------------------------
      Sonar analysis completed: UNSTABLE
      FATAL: null
      java.lang.StackOverflowError
      at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
      at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:243)
      at java.io.File.exists(File.java:750)
      at hudson.model.User.getOrCreate(User.java:341)
      at hudson.model.User.get(User.java:331)
      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:454)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19)
      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:454)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19)
      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:454)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19)
      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:454)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530)
      at hudson.model.User.getProjects(User.java:448)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)

        Attachments

          Issue Links

            Activity

            Hide
            kutzi kutzi added a comment -

            Please search for duplicates before creating new issues.

            Show
            kutzi kutzi added a comment - Please search for duplicates before creating new issues.
            Hide
            hlassiege hugo lassiege added a comment -

            It is not related to Sonar. The same build without sonar (just a mvn install) give the same stacktrace :

            [INFO] ------------------------------------------------------------------------
            [INFO] BUILD SUCCESSFUL
            [INFO] ------------------------------------------------------------------------
            [INFO] Total time: 1 minute 47 seconds
            [INFO] Finished at: Thu Feb 21 10:39:53 CET 2013
            [INFO] Final Memory: 54M/131M
            [INFO] ------------------------------------------------------------------------
            channel stopped
            FATAL: null
            java.lang.StackOverflowError
            at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:360)
            at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:466)
            at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:561)
            at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:257)
            at java.lang.StringCoding.encode(StringCoding.java:289)
            at java.lang.String.getBytes(String.java:954)
            at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
            at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:243)
            at java.io.File.exists(File.java:750)
            at hudson.model.User.getOrCreate(User.java:341)
            at hudson.model.User.get(User.java:331)
            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:454)
            at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530)

            Show
            hlassiege hugo lassiege added a comment - It is not related to Sonar. The same build without sonar (just a mvn install) give the same stacktrace : [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 47 seconds [INFO] Finished at: Thu Feb 21 10:39:53 CET 2013 [INFO] Final Memory: 54M/131M [INFO] ------------------------------------------------------------------------ channel stopped FATAL: null java.lang.StackOverflowError at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:360) at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:466) at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:561) at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:257) at java.lang.StringCoding.encode(StringCoding.java:289) at java.lang.String.getBytes(String.java:954) at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:243) at java.io.File.exists(File.java:750) at hudson.model.User.getOrCreate(User.java:341) at hudson.model.User.get(User.java:331) 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:454) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530)

              People

              • Assignee:
                sonarteam Sonar Team
                Reporter:
                hlassiege hugo lassiege
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: