java.lang.NullPointerException: webService must not be null

microsoft.com | 8 months 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

    Team Foundation Server Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 6 months ago
    java.lang.NullPointerException: file must not be null
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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

      webService 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.VersionControlClient.<init>(VersionControlClient.java:438)
      4. com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.<init>(VersionControlClient.java:520)
      5. com.microsoft.tfs.core.config.client.DefaultClientFactory$7.newClient(DefaultClientFactory.java:238)
      6. com.microsoft.tfs.core.config.client.DefaultClientFactory.newClient(DefaultClientFactory.java:91)
      7. com.microsoft.tfs.core.TFSConnection.getClient(TFSConnection.java:1470)
      8. com.microsoft.tfs.core.TFSTeamProjectCollection.getVersionControlClient(TFSTeamProjectCollection.java:359)
      8 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:182)
      4 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      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:531)
      2. hudson.model.Run.execute(Run.java:1741)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:374)
      5 frames