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

NPE in CliGitAPIImpl.launchCommandIn()

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core, git-client-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Just caught an NPE while running PCT for the Git Plugin. It seems like an issue in the Git Client Plugin or the core, didn't investigate it much.

      === Starting testDoNotifyCommit(hudson.plugins.git.GitStatusTest)
         0.008 [id=867]	INFO	o.jvnet.hudson.test.JenkinsRule#createWebServer: Running on http://localhost:49504/jenkins/
         0.024 [id=834]	INFO	hudson.model.Run#execute: test0 #1 aborted
      java.lang.InterruptedException
      	at java.lang.Object.wait(Native Method)
      	at java.lang.Object.wait(Object.java:502)
      	at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
      	at hudson.Proc$LocalProc.join(Proc.java:324)
      	at hudson.Proc.joinWithTimeout(Proc.java:170)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1986)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1958)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1954)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1592)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:765)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:559)
      	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1083)
      	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123)
      	at hudson.scm.SCM.checkout(SCM.java:495)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1203)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      	at hudson.model.Run.execute(Run.java:1727)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
         0.033 [id=871]	WARNING	j.util.AtmostOneTaskExecutor$1#call
      java.lang.NullPointerException
      	at hudson.model.Queue.maintain(Queue.java:1461)
      	at hudson.model.Queue$1.call(Queue.java:320)
      	at hudson.model.Queue$1.call(Queue.java:317)
      	at jenkins.util.AtmostOneTaskExecutor$1.call(AtmostOneTaskExecutor.java:108)
      	at jenkins.util.AtmostOneTaskExecutor$1.call(AtmostOneTaskExecutor.java:98)
      	at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
      	at java.lang.Thread.run(Thread.java:745)
         0.112 [id=874]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
         0.114 [id=886]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
         0.222 [id=887]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
         0.222 [id=879]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
         0.223 [id=879]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
         0.724 [id=879]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
         0.727 [id=889]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: