java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z at hudson.plugins.tfs.TeamFoundationServerScm.buildEnvVars(TeamFoundationServe rScm.java: 307)

Jenkins JIRA | redsolo | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I am setting up a TFS 2010 project with the latest version of Jenkins v1.428 and the tfs-plugin v1.19 and I am getting a strange error message. I am not sure where this error originates from but some help would be much appreciated. [workspace] $ "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" history . -recursive -stopafter:1 -noprompt - version:WHudson-SampleProject-Commit-MASTER; -format:brief Changeset User Date Comment --------- ------------- ---------- -------------------------------------------- 3653 MMcGarr 9/16/2011 Updates to various files. FATAL: java.lang.String.isEmpty()Z java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z at hudson.plugins.tfs.TeamFoundationServerScm.buildEnvVars(TeamFoundationServe rScm.java: 307) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:800) at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java: 81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild $AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java: 448) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java: 88) at hudson.model.Executor.run(Executor.java:230)

    Jenkins JIRA | 5 years ago | redsolo
    java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z at hudson.plugins.tfs.TeamFoundationServerScm.buildEnvVars(TeamFoundationServe rScm.java: 307)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.lang.String.isEmpty()Z at hudson.plugins.tfs.TeamFoundationServerScm.buildEnvVars(TeamFoundationServe rScm.java: 307)

      at hudson.model.AbstractBuild.getEnvironment()
    2. Hudson
      AbstractBuild.getEnvironment
      1. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:800)
      1 frame