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

NullPointerException after a successful maven build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • starteam-plugin
    • None
    • Platform: All, OS: All

      Here is an error that I have randomly, after a maven build. The maven build
      seems to have been successful, but it seems that a post process creates a
      problem.

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 32 seconds
      [INFO] Finished at: Wed Oct 21 18:32:31 EDT 2009
      [INFO] Final Memory: 38M/63M
      [INFO] ------------------------------------------------------------------------
      ERROR: Processing failed due to a bug in the code. Please report this to
      users@hudson.dev.java.net
      java.lang.NullPointerException
      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.getCulprits(AbstractBuild.java:270)
      at hudson.tasks.MailSender.createEmptyMail(MailSender.java:320)
      at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:156)
      at hudson.tasks.MailSender.getMail(MailSender.java:147)
      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:482)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:375)
      at hudson.model.Run.run(Run.java:1120)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:303)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)
      project=hudson.maven.MavenModuleSet@9a99eb[swix]
      project.getModules()=[hudson.maven.MavenModule@1b2b450[swix/com.zerobase.swix:sw
      ix-aggregator], hudson.maven.MavenModule@15c13ef[swix/com.zerobase.swix:swix-
      client], hudson.maven.MavenModule@1dd9169[swix/com.zerobase.swix:swix-parent],
      hudson.maven.MavenModule@20dcb7[swix/com.zerobase.swix:swix-scenarioconfig],
      hudson.maven.MavenModule@17aa2a8[swix/com.zerobase.swix:swix-ujac_ui]]
      project.getRootModule()=hudson.maven.MavenModule@1b2b450[swix/com.zerobase.swix:
      swix-aggregator]
      FATAL: null
      java.lang.NullPointerException
      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.getCulprits(AbstractBuild.java:270)
      at hudson.tasks.MailSender.createEmptyMail(MailSender.java:320)
      at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:156)
      at hudson.tasks.MailSender.getMail(MailSender.java:147)
      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:482)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:375)
      at hudson.model.Run.run(Run.java:1120)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:303)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

            Unassigned Unassigned
            creto creto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: