We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be648ab commit e9e41f2Copy full SHA for e9e41f2
visualvm/jvm/src/org/graalvm/visualvm/jvm/JmxSupport.java
@@ -50,6 +50,7 @@
50
import javax.management.MBeanServerConnection;
51
import javax.management.MalformedObjectNameException;
52
import javax.management.ObjectName;
53
+import org.graalvm.visualvm.core.datasupport.Stateful;
54
import org.openide.util.NbBundle;
55
56
/**
@@ -257,7 +258,7 @@ void initTimer() {
257
258
if (jmx != null) {
259
TimerTask task = new TimerTask() {
260
public void run() {
- try {
261
+ if (application.getState() == Stateful.STATE_AVAILABLE) try {
262
MonitoredData data = new MonitoredDataImpl(JmxSupport.this, jmx);
263
jvm.notifyListeners(data);
264
} catch (UndeclaredThrowableException e) {
0 commit comments