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

FormatUtil method is using TimeUnit.toMinutes which is not defined in Java 1.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • testng-plugin
    • None
    • Hudson, TestNG plugin, output from ant.

      Collecting Test NG output for display in Hudson.
      Seems like there is a assumption for a delendency on a library?
      The testNG-results.xml file does get read, as hudsom displays pass/fail counts and graphs, but causes this error when clicking on the Latest Test Results (build #17)link.

      example URL: http://torch.office.aol.com:8080/view/Winston/job/winston-linktest/17/testngreports/?

      Status Code: 500

      Exception:
      Stacktrace:
      org.apache.commons.jelly.JellyTagException: file:/data/hudson/home/plugins/testng-plugin/WEB-INF/classes/hudson/plugins/helpers/AbstractBuildAction/reportDetail.jelly:34:90: method formatTimeInMilliSeconds threw exception: java.util.concurrent.TimeUnit.toMinutes(J)J
      at org.apache.commons.jelly.tags.core.InvokeStaticTag.doTag(InvokeStaticTag.java:148)

      ....

      Caused by: java.lang.NoSuchMethodError: java.util.concurrent.TimeUnit.toMinutes(J)J

            farshidce farshidce
            scooter11961 Scooter11961
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: