]
Jeff MAURY commented on JBIDE-26604:
------------------------------------
[~odockal] I can't reproduce it. Here is what I did:
# Downloaded EAP 7.1
# Create an EAP7.1 runtime
# Created an EAP7.1 remote server using local remote host
# Started EAP7.1
# Try to expand the JMX node under the server and it went fine
Both Studio and EAP were running with Java8
Cannot connect to JMX server connection with EAP 7.1 remote local
system on Java 8
----------------------------------------------------------------------------------
Key: JBIDE-26604
URL:
https://issues.jboss.org/browse/JBIDE-26604
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jmx, server
Affects Versions: 4.11.0.Final
Environment: Fedora 29, openjdk 1.8.0-201
Reporter: Ondrej Dockal
Assignee: Jeff MAURY
Priority: Critical
Fix For: 4.12.0.AM1
{code}
eclipse.buildId=12.11.0.GA-v20190329-0120-B4247
java.version=1.8.0_201
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.devstudio.core.product
Command-line arguments: -data file:/home/odockal/workspace-12110GA-Respin-Java8-JMX/ -os
linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
org.jboss.ide.eclipse.as.core
Error
Fri Mar 29 16:42:53 CET 2019
Error connecting to remote JMX. Please ensure your server is properly configured for JMX
access.
org.jboss.tools.jmx.core.JMXException: Error connecting to remote JMX. Please ensure your
server is properly configured for JMX access.
at
org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:228)
at
org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:161)
at
org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:136)
at
org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:131)
at org.jboss.tools.jmx.core.tree.NodeUtils.createObjectNameTree(NodeUtils.java:54)
at
org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.loadRoot(JBossServerConnection.java:113)
at
org.jboss.tools.jmx.ui.internal.views.navigator.MBeanExplorerContentProvider$1.run(MBeanExplorerContentProvider.java:211)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.io.EOFException: Read past end of file
at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:151)
at
org.jboss.marshalling.SimpleDataInput.readUnsignedByteDirect(SimpleDataInput.java:294)
at org.jboss.marshalling.SimpleDataInput.readUnsignedByte(SimpleDataInput.java:249)
at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1346)
at org.jboss.remotingjmx.protocol.v2.Common.prepareForUnMarshalling(Common.java:140)
at org.jboss.remotingjmx.protocol.v2.Common.prepareForUnMarshalling(Common.java:110)
at
org.jboss.remotingjmx.protocol.v2.ClientCommon$BaseResponseHandler.handle(ClientCommon.java:184)
at
org.jboss.remotingjmx.protocol.v2.ClientCommon$MessageReceiver$1.run(ClientCommon.java:123)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{code}
console log:
{code}
16:42:53,240 WARN [org.jboss.remotingjmx.protocol.v2.ServerCommon] (pool-2-thread-1)
Unexpected internal error: java.lang.ExceptionInInitializerError
at
org.jboss.marshalling.river//org.jboss.marshalling.river.ClassDescriptors.<clinit>(ClassDescriptors.java:99)
at
org.jboss.marshalling.river//org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:1241)
at
org.jboss.marshalling.river//org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:1040)
at
org.jboss.marshalling.river//org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1354)
at
org.jboss.marshalling.river//org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:275)
at
org.jboss.marshalling.river//org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:208)
at
org.jboss.marshalling//org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:76)
at
org.jboss.remoting-jmx//org.jboss.remotingjmx.protocol.v2.ServerProxy$QueryNamesHandler.handle(ServerProxy.java:1102)
at
org.jboss.remoting-jmx//org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)
at
org.jboss.as.jmx//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:71)
at
org.jboss.as.jmx//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:66)
at
org.wildfly.security.elytron-private//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287)
at
org.wildfly.security.elytron-private//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244)
at
org.jboss.as.controller//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
at
org.jboss.as.controller//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
at
org.jboss.as.jmx//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:66)
at
org.jboss.remoting-jmx//org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalStateException: No standard field found for reverse order
comparator!
at
org.jboss.marshalling.river//org.jboss.marshalling.river.Protocol.<clinit>(Protocol.java:287)
... 20 more
{code}