java.lang.NullPointerException

Jenkins JIRA | H.-Dirk Schmitt | 4 years ago
  1. 0

    After updating jenkins the notification of jenkins vi Subversion post commit hook has become broken. The syslog shows: Jan 31 16:37:16 garfield jenkins: SEVERE: Failed to record SCM polling for hudson.maven.MavenModuleSet@a2ce5c5[bvopmenu-common] Jan 31 16:37:16 garfield jenkins: java.lang.NullPointerException Jan 31 16:37:16 garfield jenkins: #011at java.util.TreeMap.putAll(TreeMap.java:308) Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25) Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20) Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24) Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948) Jan 31 16:37:16 garfield jenkins: #011at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) Jan 31 16:37:16 garfield jenkins: #011at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154) Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230) Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SCM.poll(SCM.java:373) Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractProject._poll(AbstractProject.java:1493) Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractProject.poll(AbstractProject.java:1410) Jan 31 16:37:16 garfield jenkins: #011at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) Jan 31 16:37:16 garfield jenkins: #011at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) Jan 31 16:37:16 garfield jenkins: #011at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.FutureTask.run(FutureTask.java:166) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) Jan 31 16:37:16 garfield jenkins: #011at java.lang.Thread.run(Thread.java:722)

    Jenkins JIRA | 4 years ago | H.-Dirk Schmitt
    java.lang.NullPointerException
  2. 0

    After updating jenkins the notification of jenkins vi Subversion post commit hook has become broken. The syslog shows: Jan 31 16:37:16 garfield jenkins: SEVERE: Failed to record SCM polling for hudson.maven.MavenModuleSet@a2ce5c5[bvopmenu-common] Jan 31 16:37:16 garfield jenkins: java.lang.NullPointerException Jan 31 16:37:16 garfield jenkins: #011at java.util.TreeMap.putAll(TreeMap.java:308) Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25) Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20) Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24) Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948) Jan 31 16:37:16 garfield jenkins: #011at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) Jan 31 16:37:16 garfield jenkins: #011at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154) Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230) Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SCM.poll(SCM.java:373) Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractProject._poll(AbstractProject.java:1493) Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractProject.poll(AbstractProject.java:1410) Jan 31 16:37:16 garfield jenkins: #011at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) Jan 31 16:37:16 garfield jenkins: #011at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) Jan 31 16:37:16 garfield jenkins: #011at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.FutureTask.run(FutureTask.java:166) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) Jan 31 16:37:16 garfield jenkins: #011at java.lang.Thread.run(Thread.java:722)

    Jenkins JIRA | 4 years ago | H.-Dirk Schmitt
    java.lang.NullPointerException
  3. 0

    I'm using Jenkins-Core 1.500 version. I upgraded the EnvInject Plugin to 1.81 this afternoon, but I found it has a seriously problem: 1. All the jobs with subversion polling not work. 2. Subversion polling log can't be tracked. see blow logs. of cause, after I downgrade the 1.81 to 1.80, the polling function go back to OK. Subversion Polling Log Started on Jan 31, 2013 8:15:45 PM ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@455d0ff7[ec_build_trigger] java.lang.NullPointerException at java.util.TreeMap.putAll(TreeMap.java:290) at org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25) at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20) at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948) at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1493) at hudson.model.AbstractProject.poll(AbstractProject.java:1410) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 4 years ago | Bao Xiaopan(Bob)
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm using Jenkins-Core 1.500 version. I upgraded the EnvInject Plugin to 1.81 this afternoon, but I found it has a seriously problem: 1. All the jobs with subversion polling not work. 2. Subversion polling log can't be tracked. see blow logs. of cause, after I downgrade the 1.81 to 1.80, the polling function go back to OK. Subversion Polling Log Started on Jan 31, 2013 8:15:45 PM ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@455d0ff7[ec_build_trigger] java.lang.NullPointerException at java.util.TreeMap.putAll(TreeMap.java:290) at org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25) at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20) at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948) at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1493) at hudson.model.AbstractProject.poll(AbstractProject.java:1410) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 4 years ago | Bao Xiaopan(Bob)
    java.lang.NullPointerException
  6. 0

    I'm using Jenkins-Core 1.500 version. I upgraded the EnvInject Plugin to 1.81 this afternoon, but I found it has a seriously problem: 1. All the jobs with subversion polling not work. 2. Subversion polling log can't be tracked. see blow logs. of cause, after I downgrade the 1.81 to 1.80, the polling function go back to OK. Subversion Polling Log Started on Jan 31, 2013 8:15:45 PM ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@455d0ff7[ec_build_trigger] java.lang.NullPointerException at java.util.TreeMap.putAll(TreeMap.java:290) at org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25) at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20) at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948) at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1493) at hudson.model.AbstractProject.poll(AbstractProject.java:1410) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 4 years ago | Bao Xiaopan(Bob)
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at java.util.TreeMap.putAll()
    2. Java RT
      TreeMap.putAll
      1. java.util.TreeMap.putAll(TreeMap.java:308)
      1 frame
    3. org.jenkinsci.plugins
      EnvInjectPluginAction.buildEnvVars
      1. org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25)
      2. org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20)
      3. org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24)
      3 frames
    4. Hudson
      AbstractBuild.getEnvironment
      1. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948)
      1 frame
    5. Hudson Maven Embedder
      MavenModuleSetBuild.getEnvironment
      1. hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
      2. hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154)
      2 frames
    6. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230)
      2. hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      3. hudson.scm.SCM.poll(SCM.java:373)
      4. hudson.model.AbstractProject._poll(AbstractProject.java:1493)
      5. hudson.model.AbstractProject.poll(AbstractProject.java:1410)
      6. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
      7. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
      8. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      8 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      6. java.lang.Thread.run(Thread.java:722)
      6 frames