java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z

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

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

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.lang.String.isEmpty()Z

      at hudson.plugins.doxygen.DoxygenDirectoryParser.getDoxygenGeneratedDir()
    2. hudson.plugins.doxygen
      DoxygenDirectoryParser.invoke
      1. hudson.plugins.doxygen.DoxygenDirectoryParser.getDoxygenGeneratedDir(DoxygenDirectoryParser.java:142)
      2. hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:340)
      3. hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54)
      4. hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14)
      4 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:788)
      2. hudson.FilePath.act(FilePath.java:770)
      2 frames
    4. hudson.plugins.doxygen
      DoxygenArchiver.perform
      1. hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219)
      2. hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176)
      2 frames
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:162)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
      7. hudson.model.Run.run(Run.java:1433)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:238)
      10 frames