cryostatio / cryostatio/cryostat
[Bug] Better handling missing modules in target JVM
- Dominant language
- Java
- Stars
- 57
- Forks
- 17
- Avg merge
- 15h 39m
- Merged PRs (30d)
- 42
Description
### Current Behavior
Currently, when `jdk.management.jfr` module is missing in target VM, :
* very cryptic issue is show on the ui,
* in logs there is a trace like in https://github.com/cryostatio/cryostat/discussions/595#discussioncomment-10420357
### Expected Behavior
See notification / popup suggesting what is the actual problem, like missing JFR module
### Steps To Reproduce
_No response_
### Environment
```Markdown
- OS:
- Environment:
- Version:
```
### Anything else?
Related discussion - https://github.com/cryostatio/cryostat/discussions/595#discussioncomment-10420960
Contributor guide
Research direction
Start by reproducing the issue with a target JVM missing the jdk.management.jfr module, then follow the error from the logs to the UI behavior described in the linked discussion. Done means the UI shows a notification or popup identifying the missing JFR module instead of the current cryptic error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100