]
Rob Stryker commented on JBIDE-23869:
-------------------------------------
I've submitted a patch that will include the whole json response in all 3
circumstances.
ClassCastException with Jolokia connection
------------------------------------------
Key: JBIDE-23869
URL:
https://issues.jboss.org/browse/JBIDE-23869
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jmx, openshift
Reporter: Aurélien Pupier
Assignee: Jeff MAURY
Labels: jmx, jolokia, openshift
Fix For: 4.5.0.AM2
Attachments: failure.png, image-2017-02-06-13-54-27-708.png
!image-2017-02-06-13-54-27-708.png|thumbnail!
{noformat}
!ENTRY org.eclipse.core.jobs 4 2 2017-02-06 13:52:39.767
!MESSAGE An internal error occurred during: "Connect Job".
!STACK 0
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
at
org.jolokia.client.request.ValidatingResponseExtractor.extract(ValidatingResponseExtractor.java:58)
at org.jolokia.client.J4pClient.execute(J4pClient.java:195)
at org.jolokia.client.J4pClient.execute(J4pClient.java:168)
at org.jolokia.client.J4pClient.execute(J4pClient.java:117)
at
org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.verifyServerReachable(JolokiaConnectionWrapper.java:315)
at
org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.connect(JolokiaConnectionWrapper.java:111)
at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
at
org.jboss.tools.jmx.ui.internal.actions.DoubleClickAction$1.run(DoubleClickAction.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{noformat}