Ali
(Ali)
May 16, 2025, 10:17am
1
Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!
1. Describe your incident:
Upgraded Graylog from 5.2 → 6.0 → 6.2
Metrics column does not open, gives an error
Failed to load component: cannot read properties of undefined value (reading “results”).
2. Describe your environment:
OS Information:
Package Version:
graylog-6.2, mongodb-6.0.23, elasticsearch-7.10.2
Service logs, configurations, and environment variables:
3. What steps have you already taken to try and solve the problem?
Updated mongodb to 6.0.23, updated java to 17
4. How can the community help?
Help me solve this problem
Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]
Anymore details from the server log?
Ali
(Ali)
May 17, 2025, 7:07am
5
I’m trying to write the whole log, but the spam filter won’t give it out, here’s the main error in the logs
java.lang.classcastexception:%20class%20org.graylog.shaded.elasticsearch7.org.elasticsearch.search.aggregations.bucket.histogram.ParsedDateHistogram%20cannot%20be%20cast%20to%20class%20org.graylog.shaded.elasticsearch7.org.elasticsearch.search.aggregations.bucket.histogram.ParsedAutoDateHistogram
Turns out the fix is already in progress and will be released with the next 6.2 bugfix release.
6.2
← fix/issue-22618-6.2
opened 01:08PM - 20 May 25 UTC
**Note:** This is a backport of #22622 to `6.2`.
## Description
## Motivatio… n and Context
This PR is fixing an issue as reported in #22618, where the Events histogram did not work on ES7, due to the result being casted to the wrong result class. This PR is now adding a test to reproduce this and fixes the class used for casting.
Fixes #22618.
## How Has This Been Tested?
## Screenshots (if appropriate):
## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Refactoring (non-breaking change)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
## Checklist:
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have read the **CONTRIBUTING** document.
- [x] I have added tests to cover my changes.
system
(system)
Closed
June 6, 2025, 7:38am
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.