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

Jenkins JIRA | redsolo | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 6 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