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

[Bug] JVM Details view produces "Unparseable Input Document" error #1249

Closed
andrewazores opened this issue Apr 23, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@andrewazores
Copy link
Member

andrewazores commented Apr 23, 2024

Current Behavior

When clicking "View More" on the JVM Details card content, all the fields come up with "Unknown" values and an error message "Unparseable Input Document" appears.

Expected Behavior

There should be no error message, and the JVM details such as operating system, JDK version and vendor, etc. should appear.

Steps To Reproduce

  1. cd cryostat3
  2. ./smoketest.bash
  3. Select Cryostat itself as the target
  4. Add a JVM Details card to the Dashboard, or go to the Topology view and select the Cryostat target
  5. Click "View More"

Environment

No response

Anything else?

Screenshot_2024-04-22_23-26-35

@andrewazores andrewazores added the bug Something isn't working label Apr 23, 2024
@andrewazores
Copy link
Member Author

Query:

{
  "query": " query MBeanMXMetricsForTarget(id: BigInteger!) { targetNodes(filter: { targetIds: [$id] }) { target { mbeanMetrics { runtime { startTime vmVendor vmVersion classPath libraryPath inputArguments systemProperties { key value } } os { name version arch availableProcessors totalPhysicalMemorySize totalSwapSpaceSize } } } } }",
  "variables": {
    "id": 2
  }
}

Response:

{
  "errors": [
    {
      "message": "Unparseable input document",
      "locations": [],
      "extensions": {
        "classification": "DataFetchingException"
      }
    }
  ],
  "data": null
}

This happens for any selected target.

@andrewazores
Copy link
Member Author

This actually only applies to #1245 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant