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

Processing failed due to a bug in the code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • None

      In our development we are creating repo using maven plugin, we have two pom.xml files one s parent and another one is child pom.xml. when we are running the build on Jenkins with parent pom.xml we are getting an error like below

       

      Commit message: "updated pom file"
      > /usr/bin/git rev-list --no-walk 4251be3594815082e1b9cd5511293c7bafdefee7 # timeout=10
      Set build name.
      New build name is 'apic-maven-plugin/develop-#1111'
      Parsing POMs
      ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https://jenkins.io/redirect/report-an-issue).
      java.lang.NullPointerException
          at java.util.Hashtable.put(Hashtable.java:460)
          at hudson.maven.MavenModuleSetBuild$PomParser.<init>(MavenModuleSetBuild.java:1172)
          at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:986)
          at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:691)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514)
          at hudson.model.Run.execute(Run.java:1888)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
          at hudson.model.ResourceController.execute(ResourceController.java:99)
          at hudson.model.Executor.run(Executor.java:431)
      project=hudson.maven.MavenModuleSet@3c74ad2[create-repo]
      project.getModules()=[hudson.maven.MavenModule@56978efe[create-repo/com.rmgrp.maven.mojos:create-repo][create-repo/com.rmgrp.maven.mojos:create-repo][relativePath:]]
      project.getRootModule()=hudson.maven.MavenModule@56978efe[create-repo/com.rmgrp.maven.mojos:create-repo][create-repo/com.rmgrp.maven.mojos:create-repo][relativePath:]
      FATAL: null
      java.lang.NullPointerException
          at java.util.Hashtable.put(Hashtable.java:460)
          at hudson.maven.MavenModuleSetBuild$PomParser.<init>(MavenModuleSetBuild.java:1172)
          at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:986)
          at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:691)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514)
          at hudson.model.Run.execute(Run.java:1888)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
          at hudson.model.ResourceController.execute(ResourceController.java:99)
          at hudson.model.Executor.run(Executor.java:431)
      Finished: FAILURE

       

      In our child pom.xml we have certain dependency plugins and as well as we have code written for creating the repo in bitbucket. As we have not changed anything in our pom.xml or code since last 2years. however we are able to build manually from server and it is successful but Jenkins is unable to build, we don't have any clue about why it is failing. we are using Jenkins v2.303.3.

            Unassigned Unassigned
            manikanta_gattu Manikanta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: