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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Blocker
    • Component/s: performance-plugin
    • None

      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 ...

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

              Created:
              Updated:
              Resolved: