java.lang.NullPointerException

Google Groups | fbel...@gmail.com (JIRA) | 5 months ago
  1. 0

    [JIRA] [core] (JENKINS-26582) ISE from RunMap.put after reloading config

    Google Groups | 2 years ago | philbeiler@java.net (JIRA)
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    I'm seeing the following exception in my jenkins log: {code:java} WARNING: hudson.triggers.TimerTrigger.run() failed for hudson.model.FreeStyleProject@3bb09a54[Test] java.lang.NullPointerException at hudson.triggers.TimerTrigger.run(TimerTrigger.java:55) at hudson.triggers.Trigger.checkTriggers(Trigger.java:283) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:217) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745){code} I have been able to reproduce this by creating a new job in the disabled state. Waiting for a normal execution period to pass, then re-enabling the job. Each time the trigger fails until I re-save the project, then appears to trigger properly. My project config is the following: {noformat} <?xml version='1.0' encoding='UTF-8'?> <project> <actions/> <description></description> <logRotator class="hudson.tasks.LogRotator"> <daysToKeep>14</daysToKeep> <numToKeep>-1</numToKeep> <artifactDaysToKeep>-1</artifactDaysToKeep> <artifactNumToKeep>-1</artifactNumToKeep> </logRotator> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.scm.NullSCM"/> <canRoam>true</canRoam> <disabled>false</disabled> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <triggers> <hudson.triggers.TimerTrigger> <spec>*/1 * * * 0-6 </spec> </hudson.triggers.TimerTrigger> </triggers> <concurrentBuild>false</concurrentBuild> <builders> <hudson.tasks.Shell> <command>echo &quot;hello&quot;</command> </hudson.tasks.Shell> </builders> <publishers> <hudson.tasks.Mailer plugin="mailer@1.11"> <recipients>test@nospam.com</recipients> <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild> <sendToIndividuals>false</sendToIndividuals> </hudson.tasks.Mailer> </publishers> <buildWrappers/> </project> {noformat}

    Jenkins JIRA | 1 year ago | Clint Brown
    java.lang.NullPointerException
  4. 0

    [JIRA] (JENKINS-37099) Null value passed through ParametersAction causes all jobs to throw StackTrace

    Google Groups | 4 months ago | stacey....@cox.com (JIRA)
    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 hudson.triggers.Trigger.checkTriggers()
    2. Hudson
      SafeTimerTask.run
      1. hudson.triggers.Trigger.checkTriggers(Trigger.java:267)
      2. hudson.triggers.Trigger$Cron.doRun(Trigger.java:221)
      3. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
      3 frames
    3. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6 frames