Uploaded image for project: 'LAMAXU'
  1. LAMAXU
  2. LAMA-110

Error calculating Statistics msgs/sec rates - java.lang.ArithmeticException: / by zero

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.7.1
    • Fix Version/s: 1.0.7.3
    • Component/s: Statistics
    • Labels:
    • Acceptance Criteria:
      No more errors

      Description

      Reported by Emirates
      A divide by zero occurs when the message rate is calculated with a zero(0) interval. This seems to occur on ZOS RESETQSTATS stats if the Thread times out and exits prematurely.

      2019-07-09 14:07:47 ERROR Sweeper:197 - [CSQ1 data collector] - Exception encountered collecting data from message broker CSQ1
      java.lang.ArithmeticException: / by zero
      at com.qm.lamaxu.messagebroker.mq.WebSphereMQQueueManager.getAllStatistics(WebSphereMQQueueManager.java:183)
      at com.qm.lamaxu.cache.Sweeper.captureStatistics(Sweeper.java:49)
      at com.qm.lamaxu.cache.Sweeper.run(Sweeper.java:185)
      at java.lang.Thread.run(Thread.java:748)
      2019-07-09 15:08:05 ERROR Sweeper:197 - [CSQ7 data collector] - Exception encountered collecting data from message broker CSQ7
      java.lang.ArithmeticException: / by zero
      at com.qm.lamaxu.messagebroker.mq.WebSphereMQQueueManager.getAllStatistics(WebSphereMQQueueManager.java:183)
      at com.qm.lamaxu.cache.Sweeper.captureStatistics(Sweeper.java:49)
      at com.qm.lamaxu.cache.Sweeper.run(Sweeper.java:185)
      at java.lang.Thread.run(Thread.java:748)
      2019-07-09 15:27:08 ERROR Sweeper:197 - [CSQ2 data collector] - Exception encountered collecting data from message broker CSQ2
      java.lang.ArithmeticException: / by zero
      at com.qm.lamaxu.messagebroker.mq.WebSphereMQQueueManager.getAllStatistics(WebSphereMQQueueManager.java:183)
      at com.qm.lamaxu.cache.Sweeper.captureStatistics(Sweeper.java:49)
      at com.qm.lamaxu.cache.Sweeper.run(Sweeper.java:185)
      at java.lang.Thread.run(Thread.java:748)
      2019-07-09 17:44:59 ERROR Sweeper:197 - [CSQ5 data collector] - Exception encountered collecting data from message broker CSQ5
      java.lang.ArithmeticException
      2019-07-09 18:20:08 ERROR Sweeper:197 - [CSQ7 data collector] - Exception encountered collecting data from message broker CSQ7
      java.lang.ArithmeticException
      2019-07-09 19:58:09 ERROR Sweeper:197 - [CSQ7 data collector] - Exception encountered collecting data from message broker CSQ7
      java.lang.ArithmeticException
      2019-07-09 20:19:00 ERROR Sweeper:197 - [CSQ5 data collector] - Exception encountered collecting data from message broker CSQ5
      java.lang.ArithmeticException
      2019-07-09 20:48:26 ERROR Sweeper:197 - [CSQ1 data collector] - Exception encountered collecting data from message broker CSQ1
      java.lang.ArithmeticException

        Attachments

          Activity

            People

            • Assignee:
              matt Matthew Batterham
              Reporter:
              matt Matthew Batterham
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: