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

Subversion Module giving "FATAL: Jenkins.instance is missing" on upgrade to 2.183

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • 2.13

      Problem occurs after upgrade  to 2.183 from 2.182 and is not present in 2.182.

      Have a project configured with "Source Code Management"–>"Subversion" module. Project checks out a repository over https and has:

      Local module directory: svn

      Repository depth: infinity

      Check-out Strategy: Always check out a fresh copy

      Repository browser: (Auto)

       

      "Console Output" has the following message:

       
      Running as SYSTEM
      Building remotely on deadlock in workspace /scratch/jenkins-slave/workspace/CheckoutJob
      FATAL: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
      Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to deadlock
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
      at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
      at hudson.remoting.Channel.call(Channel.java:957)
      at hudson.FilePath.act(FilePath.java:1072)
      at hudson.FilePath.act(FilePath.java:1061)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:928)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:864)
      at hudson.scm.SCM.checkout(SCM.java:504)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
      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:1818)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
      at jenkins.model.Jenkins.get(Jenkins.java:769)
      at hudson.model.Hudson.getInstance(Hudson.java:77)
      at hudson.scm.SubversionWorkspaceSelector.syncWorkspaceFormatFromMaster(SubversionWorkspaceSelector.java:105)
      at hudson.scm.SvnClientManager.<init>(SvnClientManager.java:31)
      at hudson.scm.SubversionSCM.createClientManager(SubversionSCM.java:1075)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1002)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:979)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)
      at hudson.remoting.UserRequest.perform(UserRequest.java:212)
      at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      at hudson.remoting.Request$2.run(Request.java:369)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Sending e-mails to: <EMAIL>
      Finished: FAILURE
       

      Happy to provide more information if required.

            s_spieker Stefan Spieker
            rcurr Russell Currie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: