Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1219

clover plugin uses jdk1.6 features

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • plugin-proposals
    • None
    • Platform: All, OS: All

      Apparently this is similar to issue 1087
      (https://hudson.dev.java.net/issues/show_bug.cgi?id=1087) in that it seems to be
      due to the use of a JDK 1.6 feature that is not present in JDK 1.5.

      I am relying on the "promise" of hudson running under JDK 1.5. Unlike the
      person in 1087, I do not have the option of running hudson with JDK 1.6 and
      would greatly appreciate it if the clover plugin were fixed.

      Please let me know if I can provide any more information.

      For the record, here is a clip of the build log:

      BUILD SUCCESSFUL
      Total time: 128 minutes 48 seconds
      Publishing Javadoc
      Recording test results
      No test report files were found. Configuration error?
      Sending e-mails to: x@y.com
      Publishing Clover coverage report...
      Publishing Clover coverage results...
      FATAL: java.io.IOException: method
      <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
      java.lang.NoSuchMethodError: java.io.IOException: method
      <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
      at hudson.plugins.clover.CloverCoverageParser.parse(CloverCoverageParser.java:88)
      at hudson.plugins.clover.CloverCoverageParser.parse(CloverCoverageParser.java:50)
      at hudson.plugins.clover.CloverPublisher.perform(CloverPublisher.java:159)
      at
      hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:33)
      at hudson.model.Build$RunnerImpl.performAllBuildStep(Build.java:150)
      at hudson.model.Build$RunnerImpl.post2(Build.java:137)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:254)
      at hudson.model.Run.run(Run.java:674)
      at hudson.model.Build.run(Build.java:102)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:65)

            Unassigned Unassigned
            ianalexander ianalexander
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: