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

java.io.IOException: Can not attach to current VM #233

Open
ghost opened this issue Jan 5, 2018 · 1 comment
Open

java.io.IOException: Can not attach to current VM #233

ghost opened this issue Jan 5, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 5, 2018

This keeps blasting by the console

22:26:36.644 [Thread-0] WARN com.insightfullogic.honest_profiler.ports.sources.LocalMachineSource - Can not attach to current VM
java.io.IOException: Can not attach to current VM
at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.(HotSpotVirtualMachine.java:75)
at jdk.attach/sun.tools.attach.VirtualMachineImpl.(VirtualMachineImpl.java:56)
at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:73)
at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:249)
at com.insightfullogic.honest_profiler.ports.sources.LocalMachineSource.attach(LocalMachineSource.java:142)
at com.insightfullogic.honest_profiler.ports.sources.LocalMachineSource.onNewDescriptor(LocalMachineSource.java:123)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1604)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:430)
at com.insightfullogic.honest_profiler.ports.sources.LocalMachineSource.difference(LocalMachineSource.java:118)
at com.insightfullogic.honest_profiler.ports.sources.LocalMachineSource.poll(LocalMachineSource.java:105)
at com.insightfullogic.honest_profiler.ports.sources.LocalMachineSource.discoverVirtualMachines(LocalMachineSource.java:84)
at com.insightfullogic.honest_profiler.core.ThreadedAgent.run(ThreadedAgent.java:67)

@nitsanw
Copy link
Member

nitsanw commented Apr 3, 2018

Can you give some relevant details here? JVM version? code version? test case for reproduction?

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

No branches or pull requests

1 participant