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

Error while executing maven plugin || java.lang.nullpointerexception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Linux Red Hat 7.9

      while creating a repo getting the below error

       

      Parsing POMsarsing 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@164906b[create-repo]
      project.getModules()=[hudson.maven.MavenModule@62c05359[create-repo/com.XXXXX.maven.mojos:create-repo][create-repo/com.XXXXX.maven.mojos:create-repo][relativePath:]]
      project.getRootModule()=hudson.maven.MavenModule@62c05359[create-repo/com.XXXXX.maven.mojos:create-repo][create-repo/com.XXXXX.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

            Unassigned Unassigned
            amatin Ahzam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: