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

Jenkins JIRA | redsolo | 5 years ago
  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)
  2. 0
    Put Jackson Java Module and Scala module in the same version.
    via GitHub by anujlal01
  3. 0
    Check if you didn't miss adding Jackson dependencies to your code.
    via GitHub by anujlal01
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    This bug happens in version 2.60, try updating to 2.60-rc4 or more recent.
    via GitHub by anujlal01
  6. 0

    Drools: Can't declare new type (with field) in .drl file

    Stack Overflow | 4 years ago | sao
    java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z

    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.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