JMX sensor does not handle run-time exceptions

Description

If run-time exceptions occur during collecting of the JMX data, these will be propagated to outside of the JMX sensor. This causes not all data to be collected. JMX sensor should capture these as well and react by removing such attribute from actively checked list.

Trace:

Log:

Environment

None

Activity

Show:
Technical User
October 12, 2017, 9:48 AM

SUCCESS: Integrated in

inspectIT - Integration #361
INSPECTIT-2534: JMX sensor does not handle run-time exceptions (ivan.senic: fd8cebd73dccba301e5e1d3ed507c42cd720ba54)

  • (edit) inspectit.agent.java/src/test/java/rocks/inspectit/agent/java/sensor/jmx/JmxSensorTest.java

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/sensor/jmx/JmxSensor.java

Marius Oehler
October 9, 2017, 5:13 PM

: I'll be back from on thursday, then I'll have a look.

Ivan Senic
October 9, 2017, 8:33 AM

It works I just have a small suggestion. Any chance you can fix this by Friday?

Ivan Senic
October 5, 2017, 2:00 PM

: Reproducible with DVD store when

profile is active.

Fixed

Assignee

Marius Oehler

Reporter

Ivan Senic

Labels

None

Integrator

Ivan Senic

Sprint

None

Fix versions

Affects versions

Priority

Medium