[
https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi...
]
Aurélien Pupier commented on JBIDE-26598:
-----------------------------------------
when i put a breakpoint in
org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler.getLocalConnectorAddressInternal(Object,
int) in the catch. I have access to the following stacktrace which is swallowed:
{noformat}
!ENTRY org.fusesource.ide.launcher.ui 1 1 2019-03-27 10:08:56.543
!MESSAGE Using existing launch configuration
org.jboss.tools.common.jdt.debug.tools.ToolsCoreException: 0
at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeLoadAgent(Tools.java:419)
at org.jboss.tools.common.jdt.debug.tools.ToolsCore.loadAgent(ToolsCore.java:157)
at
org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler.getLocalConnectorAddressInternal(JvmAttachHandler.java:248)
at
org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler.getLocalConnectorAddress(JvmAttachHandler.java:220)
at
org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.getLocalConnectorAddress(ActiveJvm.java:556)
at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:444)
at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
at
org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeLoadAgent(Tools.java:406)
... 10 more
Caused by: com.sun.tools.attach.AgentLoadException: 0
at
jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:108)
at
jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:119)
at
jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:147)
... 15 more
{noformat}
Unable to connect to JMX process when instance launched with JDK 11
-------------------------------------------------------------------
Key: JBIDE-26598
URL:
https://issues.jboss.org/browse/JBIDE-26598
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jmx
Affects Versions: 4.11.0.Final
Reporter: Aurélien Pupier
Priority: Blocker
{code}
org.jboss.tools.jmx.local
Error
Wed Mar 27 09:25:29 CET 2019
Unable to connect to jvm
org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID:
9470)
at
org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
at
org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
at
org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)