java.lang.NullPointerException

Jenkins JIRA | jlin sai | 5 years ago
  1. 0

    I get a failure when I use the tfs plugin of Jenkins. The Source Code management tool what I use is Team Foundation Server 2010,when I manage the poll SCM in Jenkins,and want to trigger a build automatic when it detected a change between TFS server and Personal workspace , a failure hanppened ,which information is "failed to record scm polling".the major information are as follows. Three months ago ,the version of tfs plugin is 1.17,I encount the failure ,and now the problem isn't resolved. I have been searched a method for a long time ,but not get it . I don't know what the reason is ,so please to I want to wish you can help me to fix the problem.Thank you very much! ERROR: Failed to record SCM polling java.lang.NullPointerException at hudson.plugins.tfs.commands.DetailedHistoryCommand.parseChangeSetString(DetailedHistoryCommand.java:151) at hudson.plugins.tfs.commands.DetailedHistoryCommand.parse(DetailedHistoryCommand.java:112) at hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:43) at hudson.plugins.tfs.TeamFoundationServerScm.pollChanges(TeamFoundationServerScm.java:207) at hudson.scm.SCM.poll(SCM.java:375) at hudson.model.AbstractProject.poll(AbstractProject.java:1310) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) 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 | 5 years ago | jlin sai
    java.lang.NullPointerException
  2. 0

    I get a failure when I use the tfs plugin of Jenkins. The Source Code management tool what I use is Team Foundation Server 2010,when I manage the poll SCM in Jenkins,and want to trigger a build automatic when it detected a change between TFS server and Personal workspace , a failure hanppened ,which information is "failed to record scm polling".the major information are as follows. Three months ago ,the version of tfs plugin is 1.17,I encount the failure ,and now the problem isn't resolved. I have been searched a method for a long time ,but not get it . I don't know what the reason is ,so please to I want to wish you can help me to fix the problem.Thank you very much! ERROR: Failed to record SCM polling java.lang.NullPointerException at hudson.plugins.tfs.commands.DetailedHistoryCommand.parseChangeSetString(DetailedHistoryCommand.java:151) at hudson.plugins.tfs.commands.DetailedHistoryCommand.parse(DetailedHistoryCommand.java:112) at hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:43) at hudson.plugins.tfs.TeamFoundationServerScm.pollChanges(TeamFoundationServerScm.java:207) at hudson.scm.SCM.poll(SCM.java:375) at hudson.model.AbstractProject.poll(AbstractProject.java:1310) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) 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 | 5 years ago | jlin sai
    java.lang.NullPointerException
  3. 0

    I noticed this when investigating issue 4325 (NullPointerException when polling). The page project/scmPollLog displays only: ---------------------------------------------------------------------- Last Team Foundation Server Polling Log Started on 2009-aug-28 08:40:18 ---------------------------------------------------------------------- but in the console output (running through mvn hpi:run) i got this exception: ---------------------------------------------------------------------- 2009-aug-28 08:40:18 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.java:187) at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:965) 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.java: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:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) ---------------------------------------------------------------------- The exception or an error message should be displayed in the SCM Poll page, so the user can easily see that something went bad when polling. Right now it looks like the polling is still going.

    Jenkins JIRA | 7 years ago | redsolo
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I noticed this when investigating issue 4325 (NullPointerException when polling). The page project/scmPollLog displays only: ---------------------------------------------------------------------- Last Team Foundation Server Polling Log Started on 2009-aug-28 08:40:18 ---------------------------------------------------------------------- but in the console output (running through mvn hpi:run) i got this exception: ---------------------------------------------------------------------- 2009-aug-28 08:40:18 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.java:187) at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:965) 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.java: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:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) ---------------------------------------------------------------------- The exception or an error message should be displayed in the SCM Poll page, so the user can easily see that something went bad when polling. Right now it looks like the polling is still going.

    Jenkins JIRA | 7 years ago | redsolo
    java.lang.NullPointerException
  6. 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

    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.commands.DetailedHistoryCommand.parseChangeSetString()
    2. hudson.plugins.tfs
      TeamFoundationServerScm.pollChanges
      1. hudson.plugins.tfs.commands.DetailedHistoryCommand.parseChangeSetString(DetailedHistoryCommand.java:151)
      2. hudson.plugins.tfs.commands.DetailedHistoryCommand.parse(DetailedHistoryCommand.java:112)
      3. hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:43)
      4. hudson.plugins.tfs.TeamFoundationServerScm.pollChanges(TeamFoundationServerScm.java:207)
      4 frames
    3. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.scm.SCM.poll(SCM.java:375)
      2. hudson.model.AbstractProject.poll(AbstractProject.java:1310)
      3. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
      4. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
      5. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      5 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames