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

Health Report Not Working When Low Disk Space #80

Open
jisedlac opened this issue Dec 13, 2023 · 0 comments
Open

Health Report Not Working When Low Disk Space #80

jisedlac opened this issue Dec 13, 2023 · 0 comments
Labels
type: bug Something isn't working

Comments

@jisedlac
Copy link

Expected Behavior

No response

Actual Behaviour

No response

Steps To Reproduce

  1. Have the dependencies & properties configured to see the Micronaut Control Panel with the Application Health report
  2. Restart the application with endpoints.health.disk-space.threshold=500GB or something similar out of the free disk space
  3. Open the Micronaut Control Panel / Application Health report:
    {"_links":{"self":[{"href":"/control-panel/health","templated":false}]},"_embedded":{"errors":[{"message":"Internal Server Error: Error rendering Handlebars view [layout]: /views/health/diskSpace.hbs:4:80: java.lang.NullPointerException: Cannot invoke \"java.lang.Long.doubleValue()\" because \"ctx\" is null\n /views/health/diskSpace.hbs:4:80"}]},"message":"Internal Server Error"}

Corresponding Java stack trace: control-panel-exception.txt

Environment Information

Windows 10, graalvm-jdk-17.0.8+9.1

Example Application

No response

Version

4.2.1 Maven

@alvarosanchez alvarosanchez added the type: bug Something isn't working label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants