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

JSON parse error in monitor dashboard #185

Closed
tleveque opened this Issue Apr 24, 2014 · 3 comments

Comments

Projects
None yet
3 participants
@tleveque

tleveque commented Apr 24, 2014

Monitor Dashboard fails to parse data coming from websocket.
Uncaught SyntaxError: Unexpected token N jquery.js:7428
o.parseJSON jquery.js:7428
onmessage

Cause : some values are NaN which is invalid in JSON syntax

@cescoffier cescoffier added this to the 0.5 milestone Apr 24, 2014

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Apr 24, 2014

Member

Anything I need to do to reproduce it ?
Can it be linked to Windows (again ;-)) ?

Member

cescoffier commented Apr 24, 2014

Anything I need to do to reproduce it ?
Can it be linked to Windows (again ;-)) ?

@barjo

This comment has been minimized.

Show comment
Hide comment
@barjo

barjo Apr 25, 2014

Member

Could you log the websocket message that cannot be parsed? It's probably due to some metrics non available on window which return a null or something like that.

Member

barjo commented Apr 25, 2014

Could you log the websocket message that cannot be parsed? It's probably due to some metrics non available on window which return a null or something like that.

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Apr 26, 2014

Member

Found the bad guy: "jvm.files":{"value":NaN} - basically, it's a bug in CodeHale Metrics.

Member

cescoffier commented Apr 26, 2014

Found the bad guy: "jvm.files":{"value":NaN} - basically, it's a bug in CodeHale Metrics.

@cescoffier cescoffier added the bug label May 1, 2014

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