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

Performance Plugin fails with java.lang.ArithmeticException: / by zero (divide by zero)

    Details

    • Similar Issues:

      Description

      When rendering a plot we occasionally see a broken image link and clicking on the link generates:

      stack trace
      ... lots ...
      Caused by: java.lang.ArithmeticException: / by zero
      at hudson.plugins.performance.ThroughputUriReport.get(ThroughputUriReport.java:29)
      at hudson.plugins.performance.ThroughputReport.get(ThroughputReport.java:21)
      at hudson.plugins.performance.PerformanceProjectAction.doThroughputGraph(PerformanceProjectAction.java:482)
      at sun.reflect.GeneratedMethodAccessor586.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      ... more ...

        Attachments

          Issue Links

            Activity

            Hide
            qa_qa QA QA added a comment -

            When is this going to be fixed?

            Show
            qa_qa QA QA added a comment - When is this going to be fixed?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            I'm not sure why this issue has been reassigned to me... JENKINS-27526 has been assigned to me, because the requester didn't specify the component correctly.

            Hitesh Patel submitted a fix to https://github.com/jenkinsci/performance-plugin/commit/75327e7680d387d5174ba4a6f1ced1dafef16cdd , but this fix has not been released. The fix is crappy, but it may work.

            The plugin seems to be unmaintained now. Manuel Carrasco Moñino seems to be the real maintainer, I've pinged him in one of his pull requests

            Show
            oleg_nenashev Oleg Nenashev added a comment - I'm not sure why this issue has been reassigned to me... JENKINS-27526 has been assigned to me, because the requester didn't specify the component correctly. Hitesh Patel submitted a fix to https://github.com/jenkinsci/performance-plugin/commit/75327e7680d387d5174ba4a6f1ced1dafef16cdd , but this fix has not been released. The fix is crappy, but it may work. The plugin seems to be unmaintained now. Manuel Carrasco Moñino seems to be the real maintainer, I've pinged him in one of his pull requests
            Hide
            qa_qa QA QA added a comment -

            this issue is still not fixed

            Show
            qa_qa QA QA added a comment - this issue is still not fixed
            Hide
            sbittla Srinivasa Bittla added a comment -

            I am also facing the same issue. Any workaround. thanks

            Show
            sbittla Srinivasa Bittla added a comment - I am also facing the same issue. Any workaround. thanks
            Hide
            hitesh_22 Hitesh Patel added a comment -

            Issue has been fixed. Test also added. d770cfbec6900c78b235e551caddecf639d2fc8d

            Show
            hitesh_22 Hitesh Patel added a comment - Issue has been fixed. Test also added. d770cfbec6900c78b235e551caddecf639d2fc8d

              People

              • Assignee:
                undera Andrey Pokhilko
                Reporter:
                davejenk44 dave davejenk
              • Votes:
                7 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: