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

Handle NullPointerException for getAttributes #444

Merged

Conversation

mattrussi
Copy link
Contributor

Hey @brian-brazil, this resolves #362.

* If a mBean's attributes are null, log it out for debugging.

Signed-off-by: Matt Russi <mattrussi@users.noreply.github.com>
@brian-brazil brian-brazil merged commit db8b6a8 into prometheus:master Oct 23, 2019
@brian-brazil
Copy link
Contributor

Thanks!

qinghui-xu pushed a commit to qinghui-xu/jmx_exporter that referenced this pull request Sep 18, 2020
* If a mBean's attributes are null, log it out for debugging.

Signed-off-by: Matt Russi <mattrussi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JMX scrape failed: java.lang.NullPointerException mx.JmxScraper.scrapeBean(JmxScraper.java:156
2 participants