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

NPE while parsing POMs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None

      Hudson 1.393-SNAPSHOT (perhaps 1.392 ?)
      Parsing a Maven 2 project fails with :

      ERROR: Processing failed due to a bug in the code. Please report this to hudson-users@googlegroups.com
      java.lang.NullPointerException
      	at hudson.maven.MavenModuleSetBuild$PomParser.toPomInfo(MavenModuleSetBuild.java:1121)
      	at hudson.maven.MavenModuleSetBuild$PomParser.toPomInfo(MavenModuleSetBuild.java:1140)
      	at hudson.maven.MavenModuleSetBuild$PomParser.toPomInfo(MavenModuleSetBuild.java:1140)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1107)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:983)
      	at hudson.FilePath.act(FilePath.java:756)
      	at hudson.FilePath.act(FilePath.java:738)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:690)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:526)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      	at hudson.model.Run.run(Run.java:1362)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:145)
      project=hudson.maven.MavenModuleSet@9c4289[jcr-1.10.x-ci]
      project.getModules()=[hudson.maven.MavenModule@12d294f[jcr-1.10.x-ci/exo-jcr:exo-jcr.applications.openofficeplugin], hudson.maven.MavenModule@139008b[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.browser], hudson.maven.MavenModule@152a64d[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.config], hudson.maven.MavenModule@1242cc9[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.console], hudson.maven.MavenModule@1f85b60[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.fckeditor], hudson.maven.MavenModule@3729c5[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.jboss], hudson.maven.MavenModule@1976572[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.jboss-ear], hudson.maven.MavenModule@855379[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.jonas], hudson.maven.MavenModule@12b48e5[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.openofficeplugin], hudson.maven.MavenModule@bee95a[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.repoload], hudson.maven.MavenModule@1ca4868[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.rest], hudson.maven.MavenModule@157e563[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.rmi-client], hudson.maven.MavenModule@194e3fe[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.rmi-server], hudson.maven.MavenModule@4563a[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.applications.webdav], hudson.maven.MavenModule@b92a0e[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.benchmark], hudson.maven.MavenModule@7835ec[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.component.aws], hudson.maven.MavenModule@1c38fe[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.component.core], hudson.maven.MavenModule@e1cfa7[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.component.ext], hudson.maven.MavenModule@10811b5[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.component.ftp], hudson.maven.MavenModule@c2bd13[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.component.rmi], hudson.maven.MavenModule@10b3611[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.component.webdav], hudson.maven.MavenModule@10abc94[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.ejb21], hudson.maven.MavenModule@1e2c00f[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.ejb21.bean], hudson.maven.MavenModule@1af5853[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.ejb21.client], hudson.maven.MavenModule@cfe446[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.ejb21.config], hudson.maven.MavenModule@93b63c[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.ejb30], hudson.maven.MavenModule@1a12fe6[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.ejb30.bean], hudson.maven.MavenModule@14fd510[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.ejb30.client], hudson.maven.MavenModule@2d0e1c[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.ejb30.config], hudson.maven.MavenModule@1f960c4[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.localadapter], hudson.maven.MavenModule@1401c44[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.connectors.rmiadapter], hudson.maven.MavenModule@1ffbc2e[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.ear], hudson.maven.MavenModule@9b8dc1[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.framework.command], hudson.maven.MavenModule@779d17[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.framework.ftpclient], hudson.maven.MavenModule@ea7211[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.framework.web], hudson.maven.MavenModule@1e6f1f4[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcr.packaging], hudson.maven.MavenModule@116d461[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcrapplications.jonas-ear], hudson.maven.MavenModule@1d13c39[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcrapplications.tomcat5], hudson.maven.MavenModule@1c8cc59[jcr-1.10.x-ci/org.exoplatform.jcr:exo.jcrapplications.tomcat6], hudson.maven.MavenModule@1dfee20[jcr-1.10.x-ci/org.exoplatform.jcr:jcr-parent], hudson.maven.MavenModule@8ab562[jcr-1.10.x-ci/org.exoplatform.jcr:jcr.packaging.module]]
      project.getRootModule()=hudson.maven.MavenModule@1dfee20[jcr-1.10.x-ci/org.exoplatform.jcr:jcr-parent]
      FATAL: null
      java.lang.NullPointerException
      	at hudson.maven.MavenModuleSetBuild$PomParser.toPomInfo(MavenModuleSetBuild.java:1121)
      	at hudson.maven.MavenModuleSetBuild$PomParser.toPomInfo(MavenModuleSetBuild.java:1140)
      	at hudson.maven.MavenModuleSetBuild$PomParser.toPomInfo(MavenModuleSetBuild.java:1140)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1107)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:983)
      	at hudson.FilePath.act(FilePath.java:756)
      	at hudson.FilePath.act(FilePath.java:738)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:690)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:526)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      	at hudson.model.Run.run(Run.java:1362)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:145)
      

      The build : http://ci.exoplatform.org/job/jcr-1.10.x-ci/2565/console
      The project : http://svn.exoplatform.org/projects/jcr/branches/1.10.x/
      You'll probably need this repo to DL releases and SNAPSHOTS : http://repository.exoplatform.org/public/

            olamy Olivier Lamy
            aheritier Arnaud Héritier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: