{"record":{"id":"7140450a13ddcb5a","repo":"elastic/elasticsearch","slug":"path-not-supported-for-name-path","errorCode":null,"errorMessage":"path not supported for [{name}]: {path}","messagePattern":"path not supported for \\[(.+?)\\]: (.+?)","errorType":"validation","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"modules/aggregations/src/main/java/org/elasticsearch/aggregations/pipeline/Derivative.java","lineNumber":77,"sourceCode":"\n    DocValueFormat formatter() {\n        return format;\n    }\n\n    double getNormalizationFactor() {\n        return normalizationFactor;\n    }\n\n    @Override\n    public Object getProperty(List<String> path) {\n        if (path.isEmpty()) {\n            return this;\n        } else if (path.size() == 1 && \"value\".equals(path.get(0))) {\n            return value();\n        } else if (path.size() == 1 && \"normalized_value\".equals(path.get(0))) {\n            return normalizedValue();\n        } else {\n            throw new IllegalArgumentException(\"path not supported for [\" + getName() + \"]: \" + path);\n        }\n    }\n\n    @Override\n    public XContentBuilder doXContentBody(XContentBuilder builder, Params params) throws IOException {\n        super.doXContentBody(builder, params);\n\n        if (normalizationFactor > 0) {\n            boolean hasValue = (Double.isInfinite(normalizedValue()) || Double.isNaN(normalizedValue())) == false;\n            builder.field(\"normalized_value\", hasValue ? normalizedValue() : null);\n            if (hasValue && format != DocValueFormat.RAW) {\n                builder.field(\"normalized_value_as_string\", format.format(normalizedValue()));\n            }\n        }\n        return builder;\n    }\n\n    @Override","sourceCodeStart":59,"sourceCodeEnd":95,"githubUrl":"https://github.com/elastic/elasticsearch/blob/db6a809a667c081ca1dc7500389d26975573215f/modules/aggregations/src/main/java/org/elasticsearch/aggregations/pipeline/Derivative.java#L59-L95","documentation":"Error \"path not supported for [{name}]: {path}\" thrown in elastic/elasticsearch.","triggerScenarios":"Thrown at modules/aggregations/src/main/java/org/elasticsearch/aggregations/pipeline/Derivative.java:77 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"db6a809a667c081ca1dc7500389d26975573215f","analyzedAt":"2026-08-12T01:39:14.192Z","schemaVersion":2},"datasetVersion":"2026-08-13T09:17:06.757Z"}