com.sun.tools.attach.AttachOperationFailedException: java.lang.RuntimeException: Invalid agent state

GitHub | zhenxiao | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Current master has problem when starting Presto server

    GitHub | 7 months ago | zhenxiao
    com.sun.tools.attach.AttachOperationFailedException: java.lang.RuntimeException: Invalid agent state

    Root Cause Analysis

    1. com.sun.tools.attach.AttachOperationFailedException

      java.lang.RuntimeException: Invalid agent state

      at io.airlift.jmx.JmxAgent.<init>()
    2. jmx
      JmxModule.configure
      1. io.airlift.jmx.JmxAgent.<init>(JmxAgent.java:41)
      2. io.airlift.jmx.JmxModule.configure(JmxModule.java:43)
      2 frames