[jbosstools-issues] [JBoss JIRA] (JBIDE-23869) ClassCastException with Jolokia connection
Aurélien Pupier (JIRA)
issues at jboss.org
Fri May 5 05:00:00 EDT 2017
[ https://issues.jboss.org/browse/JBIDE-23869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402447#comment-13402447 ]
Aurélien Pupier edited comment on JBIDE-23869 at 5/5/17 4:59 AM:
-----------------------------------------------------------------
there is no more a ClassCastException but now it is "Invalid status of type java.lang.String('Failure') received" which is not more useful at all.
I tested with
Red Hat JBoss Developer Studio
Version: 10.4.0.GA
Build id: GA-v20170504-2114-B29
Build date: 20170504-2114
!failure.png|thumbnail!
was (Author: aurelien.pupier):
there is no more a ClassCastException but now it is "Invalid status of type java.lang.String('Failure') received" which is not more useful at all.
I tested with
Red Hat JBoss Developer Studio
Version: 10.4.0.GA
Build id: GA-v20170504-2114-B29
Build date: 20170504-2114
> 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.4.4.Final
>
> 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}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list