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

NPE in BuildUser.makeUserBuildVariables()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • build-user-vars-plugin
    • None
    • Windows Server 2008, Oracle JDK 1.7.0_25-b16
      Jenkins LTS v1.554.1, Maven Integration Plugin v2.3, Subversion Plug-in v2.3
      build-user-vars-plugin-1.2 - 1.3

      After upgrading Jenkins and upgrading some plugins, I now get a NPEs in the log:

      maj 12, 2014 8:21:31 FM hudson.triggers.SCMTrigger$Runner runPolling
      SEVERE: Failed to record SCM polling for hudson.maven.MavenModuleSet@7987141d[jobname]
      java.lang.NullPointerException
      	at org.jenkinsci.plugins.builduser.BuildUser.makeUserBuildVariables(BuildUser.java:73)
      	at org.jenkinsci.plugins.builduser.BuildUser.makeUserBuildVariables(BuildUser.java:77)
      	at org.jenkinsci.plugins.builduser.BuildUser.makeBuildVariables(BuildUser.java:64)
      	at hudson.model.AbstractBuild.getBuildVariables(AbstractBuild.java:1043)
      	at hudson.scm.SubversionSCM.getLocations(SubversionSCM.java:520)
      	at hudson.scm.SubversionSCM.buildEnvVars(SubversionSCM.java:690)
      	at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:938)
      	at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
      	at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165)
      	at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1392)
      	at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      	at hudson.scm.SCM.poll(SCM.java:373)
      	at hudson.model.AbstractProject._poll(AbstractProject.java:1584)
      	at hudson.model.AbstractProject.poll(AbstractProject.java:1493)
      	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462)
      	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491)
      	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      

            Unassigned Unassigned
            ahammar Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: