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

URLTrigger gives severe error message, envinject NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • urltrigger-plugin
    • None
    • Red Hat Enterprise Linux Server release 5.3 (Tikanga)
      Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
      Jenkins 1.502

      Polling on master node fails with message:

      Inspecting Monitor a change of the content content for URL ${JENKINS_URL}job/Commit/lastStableBuild/buildNumber 
      
      Polling started on Mar 11, 2013 1:00:10 AM
      Polling for the job Functional_SV900
      Looking nodes where the poll can be run.
      Looking for a node to the restricted label master.
      Can't find any eligible nodes.
      Trying to poll on master node.
      
      Polling on master.
      [ERROR] - SEVERE - Polling error null
      

      Stack trace (from Jenkins/Tomcat log file)

      java.lang.NullPointerException
              at org.jenkinsci.lib.envinject.service.EnvVarsResolver.gatherEnvVarsNode(EnvVarsResolver.java:160)
              at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getDefaultEnvVarsJob(EnvVarsResolver.java:89)
              at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:68)
              at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:36)
              at org.jenkinsci.plugins.urltrigger.URLTrigger.getURLValue(URLTrigger.java:108)
              at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModifiedEntry(URLTrigger.java:136)
              at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModified(URLTrigger.java:125)
              at org.jenkinsci.lib.xtrigger.AbstractTrigger$Runner.run(AbstractTrigger.java:197)
              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)
      

            gbois Gregory Boissinot
            dmeibusch dmeibusch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: