java.lang.NullPointerException

Jenkins JIRA | jan_ruzicka | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The SCM polling triggers NullPointerException (NPE) and fails to close socket to StarTeam server. This led to Jenkins exhausting allowed number of open file handles. Log entry: SEVERE: Failed to record SCM polling for hudson.maven.MavenModuleSet@196d898[Learn about Maven 2 - again] java.lang.NullPointerException at hudson.plugins.starteam.StarTeamConnection.close(StarTeamConnection.java:409) at hudson.plugins.starteam.StarTeamPollingActor.invoke(StarTeamPollingActor.java:92) at hudson.plugins.starteam.StarTeamPollingActor.invoke(StarTeamPollingActor.java:22) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.starteam.StarTeamSCM.pollChanges(StarTeamSCM.java:190) at hudson.scm.SCM.poll(SCM.java:375) at hudson.model.AbstractProject._poll(AbstractProject.java:1402) at hudson.model.AbstractProject.poll(AbstractProject.java:1335) 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 | 3 years ago | jan_ruzicka
    java.lang.NullPointerException
  2. 0

    The SCM polling triggers NullPointerException (NPE) and fails to close socket to StarTeam server. This led to Jenkins exhausting allowed number of open file handles. Log entry: SEVERE: Failed to record SCM polling for hudson.maven.MavenModuleSet@196d898[Learn about Maven 2 - again] java.lang.NullPointerException at hudson.plugins.starteam.StarTeamConnection.close(StarTeamConnection.java:409) at hudson.plugins.starteam.StarTeamPollingActor.invoke(StarTeamPollingActor.java:92) at hudson.plugins.starteam.StarTeamPollingActor.invoke(StarTeamPollingActor.java:22) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.starteam.StarTeamSCM.pollChanges(StarTeamSCM.java:190) at hudson.scm.SCM.poll(SCM.java:375) at hudson.model.AbstractProject._poll(AbstractProject.java:1402) at hudson.model.AbstractProject.poll(AbstractProject.java:1335) 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 | 3 years ago | jan_ruzicka
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.starteam.StarTeamConnection.close()
    2. hudson.plugins.starteam
      StarTeamPollingActor.invoke
      1. hudson.plugins.starteam.StarTeamConnection.close(StarTeamConnection.java:409)
      2. hudson.plugins.starteam.StarTeamPollingActor.invoke(StarTeamPollingActor.java:92)
      3. hudson.plugins.starteam.StarTeamPollingActor.invoke(StarTeamPollingActor.java:22)
      3 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:842)
      2. hudson.FilePath.act(FilePath.java:824)
      2 frames
    4. hudson.plugins.starteam
      StarTeamSCM.pollChanges
      1. hudson.plugins.starteam.StarTeamSCM.pollChanges(StarTeamSCM.java:190)
      1 frame
    5. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.scm.SCM.poll(SCM.java:375)
      2. hudson.model.AbstractProject._poll(AbstractProject.java:1402)
      3. hudson.model.AbstractProject.poll(AbstractProject.java:1335)
      4. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
      5. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
      6. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      6 frames
    6. 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