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

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

    Stack Overflow | 3 years ago | sao
    java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error ListenerConfigure

    Oracle Community | 6 years ago | user7259503
    java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
  5. 0

    Hi I installed Jenkins Doxygen Plug-in yesterday. I set up properly but the following error was occured. ----------------------------------------------------------------------------------------------------------------------------------- Publishing Doxygen HTML results. FATAL: java.lang.String.isEmpty()Z java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z at hudson.plugins.doxygen.DoxygenDirectoryParser.getDoxygenGeneratedDir(DoxygenDirectoryParser.java:142) at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:340) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625) at hudson.model.Run.run(Run.java:1433) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) --------------------------------------------------------------------------------------------------------- I'm not sure but I assume that jenkins is using invalid method name to call via reflection. could you check this out plz?

    Jenkins JIRA | 5 years ago | Woong Chul Choi
    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