Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JmxRuntimeFactoryTest.jmxLocalConnect: Multiple threads own the same monitor #72

Open
olivergondza opened this issue Aug 15, 2016 · 0 comments

Comments

@olivergondza
Copy link
Owner

com.github.olivergondza.dumpling.factory.IllegalRuntimeStateException: Multiple threads own the same monitor '<0x3f32ca2b> (a java.lang.Class)':
"creatingAndTerminatingThreadsShouldBeHandledGracefully thread -17750" #146062
   java.lang.Thread.State: RUNNABLE
    at com.github.olivergondza.dumpling.factory.JvmRuntimeFactoryTest$1Thrd.run(JvmRuntimeFactoryTest.java:266)
    - locked <0x3f32ca2b> (a java.lang.Class)

AND

"creatingAndTerminatingThreadsShouldBeHandledGracefully thread -18269" #146027
   java.lang.Thread.State: RUNNABLE
    at com.github.olivergondza.dumpling.factory.JvmRuntimeFactoryTest$1Thrd.run(JvmRuntimeFactoryTest.java:266)
    - locked <0x3f32ca2b> (a java.lang.Class)

    at com.github.olivergondza.dumpling.model.ProcessRuntime.checkSanity(ProcessRuntime.java:81)
    at com.github.olivergondza.dumpling.model.ProcessRuntime.<init>(ProcessRuntime.java:55)
    at com.github.olivergondza.dumpling.model.mxbean.MXBeanRuntime.<init>(MXBeanRuntime.java:56)
    at com.github.olivergondza.dumpling.model.jmx.JmxRuntime.<init>(JmxRuntime.java:43)
    at com.github.olivergondza.dumpling.factory.JmxRuntimeFactory.extractRuntime(JmxRuntimeFactory.java:138)
    at com.github.olivergondza.dumpling.factory.JmxRuntimeFactory.fromConnection(JmxRuntimeFactory.java:119)
    at com.github.olivergondza.dumpling.factory.JmxRuntimeFactory.forLocalProcess(JmxRuntimeFactory.java:115)
    at com.github.olivergondza.dumpling.factory.JmxRuntimeFactoryTest.jmxLocalConnect(JmxRuntimeFactoryTest.java:107)

Seems to be a variant of similar problem with JVM factory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant