java.lang.NullPointerException

Jenkins JIRA | redsolo | 7 years ago
  1. 0

    It seems that the Launcher argument in SCM.pollChanges() is null, which makes it impossible to poll as the TFS server polls through command line. I have a test project that is setup with TFS, and to be built on a node; and it will throw the below exception in the console when it is trying to poll. I have tested 1.321, 1.322-SNAPSHOT (28 aug 9:00 GMT) and both of them has this problem. If I revert to Hudson 1.317, then the issue does not occur UNLESS the node isnt started. But for 1.318+, even if the node is started and had successful builds on it, I still get launcher=null in the poll method. ----------------------------------------------------------- INFO: Starting poll project=hudson.model.FreeStyleProject@183eae7[Polling 321], launcher=null, workspace=null, listener= hudson.util.StreamTaskListener@1a7a05 2009-aug-28 10:21:11 hudson.triggers.SCMTrigger$Runner runPolling ALLVARLIG: Failed to record SCM polling java.lang.NullPointerException at hudson.plugins.tfs.TfTool.execute(TfTool.java:99) at hudson.plugins.tfs.model.Server.execute(Server.java:47) at hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:41) at hudson.plugins.tfs.TeamFoundationServerScm.pollChanges(TeamFoundationServerScm.j ava:188) at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:975) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:312) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:339) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.jav a:114) 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:8 85) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) -----------------------------------------------------------

    Jenkins JIRA | 7 years ago | redsolo
    java.lang.NullPointerException
  2. 0

    It seems that the Launcher argument in SCM.pollChanges() is null, which makes it impossible to poll as the TFS server polls through command line. I have a test project that is setup with TFS, and to be built on a node; and it will throw the below exception in the console when it is trying to poll. I have tested 1.321, 1.322-SNAPSHOT (28 aug 9:00 GMT) and both of them has this problem. If I revert to Hudson 1.317, then the issue does not occur UNLESS the node isnt started. But for 1.318+, even if the node is started and had successful builds on it, I still get launcher=null in the poll method. ----------------------------------------------------------- INFO: Starting poll project=hudson.model.FreeStyleProject@183eae7[Polling 321], launcher=null, workspace=null, listener= hudson.util.StreamTaskListener@1a7a05 2009-aug-28 10:21:11 hudson.triggers.SCMTrigger$Runner runPolling ALLVARLIG: Failed to record SCM polling java.lang.NullPointerException at hudson.plugins.tfs.TfTool.execute(TfTool.java:99) at hudson.plugins.tfs.model.Server.execute(Server.java:47) at hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:41) at hudson.plugins.tfs.TeamFoundationServerScm.pollChanges(TeamFoundationServerScm.j ava:188) at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:975) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:312) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:339) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.jav a:114) 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:8 85) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) -----------------------------------------------------------

    Jenkins JIRA | 7 years ago | redsolo
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.plugins.tfs.TfTool.execute()
    2. hudson.plugins.tfs
      Project.getDetailedHistory
      1. hudson.plugins.tfs.TfTool.execute(TfTool.java:99)
      2. hudson.plugins.tfs.model.Server.execute(Server.java:47)
      3. hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:41)
      3 frames