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

cobertura should be JDK 1.5 compatibel (IOException)

XMLWordPrintable

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

      Cobertura uses a JDK 1.6 construcotr of the IOException. A 1.5 compatible
      exception would be IOException2 in the hudson core.

      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.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:84)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:47)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:236)
      at hudson.model.Build$RunnerImpl.post2(Build.java:138)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:243)
      at hudson.model.Run.run(Run.java:595)
      at hudson.model.Build.run(Build.java:103)
      at hudson.model.ResourceController.execute(ResourceController.java:66)
      at hudson.model.Executor.run(Executor.java:59)

            stephenconnolly Stephen Connolly
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: