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

Jenkins JIRA | jborghi | 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

    This plugin seems to be incompatible with java 1.5. I get this error when using on 1.5. From the java docs, String supports isEmpty() only from 1.6 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#isEmpty() Can you pls make it compatible with 1.5? 16:09:50 FATAL: java/lang/String.isEmpty()Z 16:09:50 java.lang.NoSuchMethodError: java/lang/String.isEmpty()Z 16:09:50 at hudson.plugins.logparser.CompiledPatterns.setError(CompiledPatterns.java:18) 16:09:50 at hudson.plugins.logparser.LogParserUtils.compilePatterns(LogParserUtils.java:103) 16:09:50 at hudson.plugins.logparser.LogParserParser.<init>(LogParserParser.java:56) 16:09:50 at hudson.plugins.logparser.LogParserPublisher.perform(LogParserPublisher.java:52) 16:09:50 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 16:09:50 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) 16:09:50 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) 16:09:50 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) 16:09:50 at hudson.model.Build$RunnerImpl.post2(Build.java:156) 16:09:50 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) 16:09:50 at hudson.model.Run.run(Run.java:1361) 16:09:50 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 16:09:50 at hudson.model.ResourceController.execute(ResourceController.java:88) 16:09:50 at hudson.model.Executor.run(Executor.java:140)

    Jenkins JIRA | 6 years ago | jborghi
    java.lang.NoSuchMethodError: java/lang/String.isEmpty()Z
  2. 0

    This plugin seems to be incompatible with java 1.5. I get this error when using on 1.5. From the java docs, String supports isEmpty() only from 1.6 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#isEmpty() Can you pls make it compatible with 1.5? 16:09:50 FATAL: java/lang/String.isEmpty()Z 16:09:50 java.lang.NoSuchMethodError: java/lang/String.isEmpty()Z 16:09:50 at hudson.plugins.logparser.CompiledPatterns.setError(CompiledPatterns.java:18) 16:09:50 at hudson.plugins.logparser.LogParserUtils.compilePatterns(LogParserUtils.java:103) 16:09:50 at hudson.plugins.logparser.LogParserParser.<init>(LogParserParser.java:56) 16:09:50 at hudson.plugins.logparser.LogParserPublisher.perform(LogParserPublisher.java:52) 16:09:50 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 16:09:50 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) 16:09:50 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) 16:09:50 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) 16:09:50 at hudson.model.Build$RunnerImpl.post2(Build.java:156) 16:09:50 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) 16:09:50 at hudson.model.Run.run(Run.java:1361) 16:09:50 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 16:09:50 at hudson.model.ResourceController.execute(ResourceController.java:88) 16:09:50 at hudson.model.Executor.run(Executor.java:140)

    Jenkins JIRA | 6 years ago | jborghi
    java.lang.NoSuchMethodError: java/lang/String.isEmpty()Z

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java/lang/String.isEmpty()Z

      at hudson.plugins.logparser.CompiledPatterns.setError()
    2. hudson.plugins.logparser
      LogParserPublisher.perform
      1. hudson.plugins.logparser.CompiledPatterns.setError(CompiledPatterns.java:18)
      2. hudson.plugins.logparser.LogParserUtils.compilePatterns(LogParserUtils.java:103)
      3. hudson.plugins.logparser.LogParserParser.<init>(LogParserParser.java:56)
      4. hudson.plugins.logparser.LogParserPublisher.perform(LogParserPublisher.java:52)
      4 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:156)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529)
      7. hudson.model.Run.run(Run.java:1361)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:140)
      10 frames