java.lang.ArithmeticException while collecting data:

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: monitoring-plugin
    • None

      We are encountering the following exception during the metrics collecting, this isn't blocking major functionality, is something being filled in our logs so much. Hope this is the plugin which is causing this exception. Appreciate any help correct this behavior. Thanks in advance.

      May 29, 2018 1:55:32 PM net.bull.javamelody.internal.common.JavaLogger warn
      WARNING: exception while collecting data: java.lang.ArithmeticException: / by zero
      java.lang.ArithmeticException: / by zero
      	at org.jrobin.core.Archive.archive(Archive.java:129)
      	at org.jrobin.core.RrdDb.archive(RrdDb.java:720)
      	at org.jrobin.core.Datasource.process(Datasource.java:201)
      	at org.jrobin.core.RrdDb.store(RrdDb.java:593)
      	at org.jrobin.core.Sample.update(Sample.java:228)
      	at net.bull.javamelody.internal.model.JRobin.addValue(JRobin.java:374)
      	at net.bull.javamelody.internal.model.Collector.collectCounterRequestData(Collector.java:820)
      	at net.bull.javamelody.internal.model.Collector.collectCounterRequestsAndErrorsData(Collector.java:750)
      	at net.bull.javamelody.internal.model.Collector.collectCounterData(Collector.java:738)
      	at net.bull.javamelody.internal.model.Collector.collect(Collector.java:356)
      	at net.bull.javamelody.internal.model.Collector.collectWithoutErrors(Collector.java:324)
      	at net.bull.javamelody.internal.model.Collector.collectLocalContextWithoutErrors(Collector.java:313)
      	at net.bull.javamelody.FilterContext$CollectTimerTask.run(FilterContext.java:80)
      	at java.util.TimerThread.mainLoop(Timer.java:555)
      	at java.util.TimerThread.run(Timer.java:505)
      

      Environment:
      Jenkins 2.124
      monitoring-1.72.0

            Assignee:
            evernat
            Reporter:
            Naresh Rayapati
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: