-
Notifications
You must be signed in to change notification settings - Fork 2k
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
null_pointer_exception - Cannot invoke "String.equals(Object)" because the return value of "org.opensearch.wlm.QueryGroupTask.getQueryGroupId()" is null #17518
Comments
cc @kaushalmahi12 This might be more relevant to wlm based on the path of the error |
@etgraylog I followed the repro steps and the issue didn't occur. Can you share the stacktrace from the logs ? |
Steps I followed
|
A stacktrace is not generated in the log of the OpenSearch node when this occurs @kaushalmahi12. To reproduce this, I use an single-shard index (zero replicas) consisting of 40,000,878 documents (35.2GiB), which a sliced scroll-search targets. It might require for example Here is a Gist containing a snippet of the OpenSearch node's log file containing messages from a time when NPEs were being noted in the response from its _nodes/stats API to cURL HTTP GETs, along with another file that contains the output from the HTTP GETs to _nodes/stats API and also other output related to the health of the OpenSearch node and shards. Note that the date command was appended to the cURL commands to indicate when they were executed in relation to the contents of the OpenSearch node's log-file. |
Describe the bug
This is a continuation of the problem reported in issue #16874.
In version 2.19.1 the Warning message can be generated by _search/scroll API queries:
And the cause of the Warning msgs seems to somehow affect the Node Stats API as well.
BEFORE the Warning messages are triggered:
AFTER the Warning messages are triggered:
The Nodes Stats API then continues to generate NPEs with the same reason in response to HTTP GETs for _nodes/stats until the OpenSearch node is restarted.
Related component
Search
To Reproduce
The steps to reproduce are essentially the same as documented in #16874. Yet in this issue, let's include a step to show how the Nodes Stats API can somehow be affected apparently by what triggers the reported Warning message:
Expected behavior
The expected behavior has 2 parts:
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: