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

NullPointerException during SCM polling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins version 2.11
    • Similar Issues:

      Description

      After updating from 2.10 to 2.11, I see the following stacktrace for a job that has SCM polling enabled:

      Jun 27, 2016 2:56:39 PM hudson.triggers.SCMTrigger$Runner runPolling
      SEVERE: Failed to record SCM polling for hudson.maven.MavenModuleSet@6ff62dfd[WFIAM Build]
      java.lang.NullPointerException
      at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:124)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      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)

      In this case, polling is triggered by hitting the /notifyCommit endpoint from a GitLab webhook.

        Attachments

          Issue Links

            Activity

            marmaluke Mark Lemmon created issue -
            thomasgp ThomasGP made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-36123 [ JENKINS-36123 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-29078 [ JENKINS-29078 ]
            danielbeck Daniel Beck made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            till_krech Till Krech made changes -
            Link This issue is duplicated by JENKINS-36414 [ JENKINS-36414 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 172925 ] JNJira + In-Review [ 199360 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marmaluke Mark Lemmon
              Votes:
              17 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: