java.lang.NullPointerException: file must not be null

jenkins-ci.org | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Team Foundation Server Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 4 months ago
    java.lang.NullPointerException: file must not be null

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      file must not be null

      at com.microsoft.tfs.util.Check.throwForNull()
    2. com.microsoft.tfs
      TFSTeamProjectCollection.getVersionControlClient
      1. com.microsoft.tfs.util.Check.throwForNull(Check.java:135)
      2. com.microsoft.tfs.util.Check.notNull(Check.java:28)
      3. com.microsoft.tfs.core.clients.versioncontrol.workspacecache.internal.InternalCacheLoader.loadConfig(InternalCacheLoader.java:89)
      4. com.microsoft.tfs.core.clients.versioncontrol.Workstation.<init>(Workstation.java:150)
      5. com.microsoft.tfs.core.clients.versioncontrol.Workstation.getCurrent(Workstation.java:206)
      6. com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.<init>(VersionControlClient.java:450)
      7. com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.<init>(VersionControlClient.java:520)
      8. com.microsoft.tfs.core.config.client.DefaultClientFactory$7.newClient(DefaultClientFactory.java:238)
      9. com.microsoft.tfs.core.config.client.DefaultClientFactory.newClient(DefaultClientFactory.java:91)
      10. com.microsoft.tfs.core.TFSConnection.getClient(TFSConnection.java:1470)
      11. com.microsoft.tfs.core.TFSTeamProjectCollection.getVersionControlClient(TFSTeamProjectCollection.java:359)
      11 frames
    3. hudson.plugins.tfs
      TeamFoundationServerScm.checkout
      1. hudson.plugins.tfs.model.Project.getVCCHistory(Project.java:89)
      2. hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:128)
      3. hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:56)
      4. hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:176)
      4 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1253)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
      2 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
      2. hudson.model.Run.execute(Run.java:1754)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:89)
      5. hudson.model.Executor.run(Executor.java:240)
      5 frames