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

Email Notification from failed build fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Platform: PC, OS: Linux

      I tried to configure the mail notification for failed builds.

      After a build failed i get this exception:

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] There was test failures.
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2 minutes 32 seconds
      [INFO] Finished at: Tue Nov 17 18:49:54 CET 2009
      [INFO] Final Memory: 26M/48M
      [INFO] ------------------------------------------------------------------------
      Warte bis Hudson die Datensammlung abgeschlossen hat
      ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net
      java.lang.ClassCastException: hudson.plugins.templateproject.ProxySCM cannot be cast to hudson.scm.SubversionSCM
      at hudson.scm.SubversionChangeLogSet$LogEntry.preparePath(SubversionChangeLogSet.java:175)
      at hudson.scm.SubversionChangeLogSet$LogEntry.access$200(SubversionChangeLogSet.java:118)
      at hudson.scm.SubversionChangeLogSet$LogEntry$1.get(SubversionChangeLogSet.java:166)
      at hudson.scm.SubversionChangeLogSet$LogEntry$1.get(SubversionChangeLogSet.java:164)
      at java.util.AbstractList$Itr.next(AbstractList.java:345)
      at hudson.maven.MavenModuleSetBuild$1.isDescendantOf(MavenModuleSetBuild.java:200)
      at hudson.maven.MavenModuleSetBuild$1.<init>(MavenModuleSetBuild.java:170)
      at hudson.maven.MavenModuleSetBuild.getChangeSetFor(MavenModuleSetBuild.java:164)
      at hudson.maven.FilteredChangeLogSet.<init>(FilteredChangeLogSet.java:52)
      at hudson.maven.MavenBuild.getChangeSet(MavenBuild.java:159)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:314)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1089)
      at hudson.model.User.getProjects(User.java:377)
      at hudson.tasks.MailAddressResolver$DefaultAddressResolver.findMailAddressFor(MailAddressResolver.java:148)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:86)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:476)
      at hudson.tasks.MailSender.buildCulpritList(MailSender.java:344)
      at hudson.tasks.MailSender.createEmptyMail(MailSender.java:325)
      at hudson.tasks.MailSender.createFailureMail(MailSender.java:198)
      at hudson.tasks.MailSender.getMail(MailSender.java:133)
      at hudson.tasks.MailSender.execute(MailSender.java:81)
      at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:54)
      at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:679)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:483)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:383)
      at hudson.model.Run.run(Run.java:1176)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

      Hudson version is: 1.333
      The Project is a maven multi module project which uses Subversion as its SCM. I have the "Hudson Template Project plugin" installed. However my project is not using the Template
      Project Plugin.

            huybrechts huybrechts
            abendt abendt
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: