Uploaded image for project: 'ngrinder'
  1. ngrinder
  2. NGRINDER-681

Fix NullPointerException while getting monitor data

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.3
    • Component/s: controller
    • Labels:
      None

      Description

      When connecting to monitor is failed, the following error is occurred. fix this.

      Error while MonitorExecutorWorker is running. Disconnect this MBean client.
      java.lang.NullPointerException at org.ngrinder.perftest.service.monitor.MonitorClientSerivce.getMonitorData(MonitorClientSerivce.java:138)
      at org.ngrinder.perftest.service.monitor.MonitorClientSerivce.saveDataCache(MonitorClientSerivce.java:193)
      at org.ngrinder.perftest.service.monitor.MonitorTask.run(MonitorTask.java:115)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)

        Activity

        Hide
        junoyoon JunHo Yoon added a comment -

        This error is actually very natural when the target monitor is not ready...
        However it makes harder to identify real error in the JMX connection.
        Fixed.

        Show
        junoyoon JunHo Yoon added a comment - This error is actually very natural when the target monitor is not ready... However it makes harder to identify real error in the JMX connection. Fixed.
        Hide
        junoyoon JunHo Yoon added a comment -

        Fixed

        Show
        junoyoon JunHo Yoon added a comment - Fixed

          People

          • Assignee:
            junoyoon JunHo Yoon
            Reporter:
            junoyoon JunHo Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: