• Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • log-parser-plugin
    • None

      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-9316] compatible with Java 1.5

          Here's a patch, taken against the git repository.

          Is this plugin still being maintained, and has development moved to Jenkins? The Hudson wiki says so. Though I see the git repository (or SVN) hasn't been used so far..

          Christopher Orr added a comment - Here's a patch, taken against the git repository. Is this plugin still being maintained, and has development moved to Jenkins? The Hudson wiki says so. Though I see the git repository (or SVN) hasn't been used so far..

          jborghi added a comment -

          Plugin is still maintained. Just have not organized a release yet.

          jborghi added a comment - Plugin is still maintained. Just have not organized a release yet.

            jborghi jborghi
            jborghi jborghi
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: