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

[monitor] Import javax.management package to correctly register GC metrics #2484

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

kaikreuzer
Copy link
Member

Fixes #2389

Signed-off-by: Kai Kreuzer kai@openhab.org

Signed-off-by: Kai Kreuzer <kai@openhab.org>
@kaikreuzer kaikreuzer added the bug An unexpected problem or unintended behavior of the Core label Sep 14, 2021
@kaikreuzer kaikreuzer requested a review from a team as a code owner September 14, 2021 06:38
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@wborn wborn merged commit 4f8f725 into openhab:main Sep 14, 2021
@wborn wborn added this to the 3.2 milestone Sep 14, 2021
@fwolter
Copy link
Member

fwolter commented Sep 14, 2021

Thanks, I tested the fix successfully. Were you able to reproduce it or were I the only one who encountered this bug?

@kaikreuzer
Copy link
Member Author

@fwolter I experienced the logged error from your workaround in my IDE setup, so that helped me to quickly reproduce and fix it.

wborn added a commit to wborn/openhab-core that referenced this pull request Feb 15, 2022
Looks like this workaround introduced in openhab#2480 is unnecessary nowadays because openhab#2484 addressed the root cause.
This fixes the AvoidCatchingThrowable SAT findings.

Signed-off-by: Wouter Born <github@maindrain.net>
cweitkamp pushed a commit that referenced this pull request Feb 15, 2022
Looks like this workaround introduced in #2480 is unnecessary nowadays because #2484 addressed the root cause.
This fixes the AvoidCatchingThrowable SAT findings.

Signed-off-by: Wouter Born <github@maindrain.net>
splatch pushed a commit to ConnectorIO/copybara-hab-core that referenced this pull request Jul 12, 2023
Looks like this workaround introduced in openhab#2480 is unnecessary nowadays because openhab#2484 addressed the root cause.
This fixes the AvoidCatchingThrowable SAT findings.

Signed-off-by: Wouter Born <github@maindrain.net>
GitOrigin-RevId: 69c6370
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[monitor] Micrometer raises unchecked exception during OH start
3 participants