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

Charts - JSONPath error #36

Closed
sandoeg opened this issue Sep 26, 2017 · 5 comments
Closed

Charts - JSONPath error #36

sandoeg opened this issue Sep 26, 2017 · 5 comments
Assignees
Milestone

Comments

@sandoeg
Copy link

sandoeg commented Sep 26, 2017

The following JSON formatted messages is being published on topic = home/environment on test.mosquitto.org.

{
"humidity": 53.57,
"pressure": 29.96,
"temperature": 77.38,
"timestamp": "Tue Sep 26 10:14:02 2017"
}

I am creating a Chart by selecting the topic from the Received messages summary, selecting Charts, then Show payload values for this topic.
I change Type = Payload to Type = JSONPath
I edit the Value expression = $.temperature

Response:
I get no plotted values.
I get a "java.lang.ClassCastException:java.lang.Double cannot be cast to [C" error.

Attachments:

Windows 10:

java version

Settings: (ignore cursor at end of series name)

settings

Error:

error

@gwh-cpnet
Copy link

gwh-cpnet commented Oct 22, 2017

same for me on version 1.0.0.
0.5.4 works fine.

@kamilfb kamilfb self-assigned this Oct 23, 2017
@kamilfb kamilfb added the bug label Oct 23, 2017
kamilfb added a commit that referenced this issue Nov 10, 2017
@kamilfb kamilfb added this to the 1.0.1 milestone Nov 10, 2017
@kamilfb
Copy link
Contributor

kamilfb commented Nov 10, 2017

@sandoeg @gwh-cpnet, could you try https://github.com/eclipse/paho.mqtt-spy/releases/tag/1.0.1-beta9 ?

@sandoeg
Copy link
Author

sandoeg commented Nov 13, 2017

mqtt-spy 1.0.1-beta9 fixes the problem that I reported. Thank you for the fix.

@sandoeg sandoeg closed this as completed Nov 13, 2017
@kamilfb
Copy link
Contributor

kamilfb commented Nov 13, 2017

Awesome. Thanks for the feedback!

@sandoeg
Copy link
Author

sandoeg commented Nov 14, 2017 via email

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

No branches or pull requests

3 participants