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] TransformRunnerIT reports null_pointer_exception #829

Closed
Hailong-am opened this issue Jun 27, 2023 · 0 comments
Closed

[BUG] TransformRunnerIT reports null_pointer_exception #829

Hailong-am opened this issue Jun 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Hailong-am
Copy link
Collaborator

What is the bug?

org.opensearch.indexmanagement.transform.TransformRunnerIT > test continuous transform with a lot of buckets FAILED
    org.opensearch.client.ResponseException: method [PUT], host [http://[::1]:36319], URI [/_plugins/_transform/transform_index_with_lots_of_buckets?refresh=true], status line [HTTP/1.1 500 Internal Server Error]
    {"error":{"root_cause":[{"type":"null_pointer_exception","reason":"parseAggregators(xcp) must not be null"}],"type":"null_pointer_exception","reason":"parseAggregators(xcp) must not be null"},"status":500}
        at __randomizedtesting.SeedInfo.seed([D1C2DEC441108C8B:85E8E73F9A387140]:0)
        at app//org.opensearch.client.RestClient.convertResponse(RestClient.java:384)
        at app//org.opensearch.client.RestClient.performRequest(RestClient.java:354)
        at app//org.opensearch.client.RestClient.performRequest(RestClient.java:329)
        at app//org.opensearch.indexmanagement.TestHelpersKt.makeRequest(TestHelpers.kt:86)
        at app//org.opensearch.indexmanagement.TestHelpersKt.makeRequest$default(TestHelpers.kt:69)
        at app//org.opensearch.indexmanagement.transform.TransformRestTestCase.createTransformJson(TransformRestTestCase.kt:79)
        at app//org.opensearch.indexmanagement.transform.TransformRestTestCase.createTransform(TransformRestTestCase.kt:58)
        at app//org.opensearch.indexmanagement.transform.TransformRestTestCase.createTransform$default(TransformRestTestCase.kt:49)
        at app//org.opensearch.indexmanagement.transform.TransformRunnerIT.test continuous transform with a lot of buckets(TransformRunnerIT.kt:1368)

How can one reproduce the bug?
Steps to reproduce the behavior:
./gradlew integTest

What is the expected behavior?
integration test should pass

What is your host/environment?

  • OS: [e.g. iOS]
  • Version 2.x and main
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Cause by this change, method parseAggregators could return null
opensearch-project/OpenSearch#8206

@Hailong-am Hailong-am added bug Something isn't working untriaged and removed untriaged labels Jun 27, 2023
@Hailong-am Hailong-am self-assigned this Jun 27, 2023
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
None yet
Development

No branches or pull requests

1 participant