java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by jborghi,
  • 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)
    via by jborghi,
    • java.lang.NoSuchMethodError: java/lang/String.isEmpty()Z at hudson.plugins.logparser.CompiledPatterns.setError(CompiledPatterns.java:18) at hudson.plugins.logparser.LogParserUtils.compilePatterns(LogParserUtils.java:103) at hudson.plugins.logparser.LogParserParser.<init>(LogParserParser.java:56) at hudson.plugins.logparser.LogParserPublisher.perform(LogParserPublisher.java:52) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140)
    No Bugmate found.