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

GitHub | zhenxiao | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Current master has problem when starting Presto server

    GitHub | 8 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