Skip to content

java.lang.IllegalStateException: Cannot get 'BoxPlot' variant: current variant is '_Custom'. #558

Closed
@marc-

Description

@marc-

Java API client version

8.6.2,8.7.0

Java version

17

Elasticsearch Version

8.6.2

Problem description

BoxPlotAggregate aggregation can no be extracted supposedly due to typo in Aggregate.java (comparing to Aggregation.java -- box_plot vs boxplot ).

java.lang.IllegalStateException: Cannot get 'BoxPlot' variant: current variant is '_Custom'.
	at co.elastic.clients.util.TaggedUnionUtils.get(TaggedUnionUtils.java:34)
	at co.elastic.clients.elasticsearch._types.aggregations.Aggregate.boxPlot(Aggregate.java:331)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client codeCategory: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions