Skip to content

Conversation

jdconrad
Copy link
Contributor

Backports the following commits to 8.19:

ClassValue.getFromHashMap wraps checked exceptions as Error, 
but we do not want to crash here because we could not process 
the type correctly as part of a Painless script, so we instead 
unwrap the Error and rethrow the original exception.
@jdconrad jdconrad added :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels Aug 27, 2025
@elasticsearchmachine elasticsearchmachine merged commit d155df6 into elastic:8.19 Aug 27, 2025
22 checks passed
@jdconrad jdconrad deleted the backport/8.19/pr-133604 branch August 27, 2025 17:28
sarog pushed a commit to portsbuild/elasticsearch that referenced this pull request Sep 11, 2025
…lastic#133662)

ClassValue.getFromHashMap wraps checked exceptions as Error, 
but we do not want to crash here because we could not process 
the type correctly as part of a Painless script, so we instead 
unwrap the Error and rethrow the original exception.
sarog pushed a commit to portsbuild/elasticsearch that referenced this pull request Sep 19, 2025
…lastic#133662)

ClassValue.getFromHashMap wraps checked exceptions as Error, 
but we do not want to crash here because we could not process 
the type correctly as part of a Painless script, so we instead 
unwrap the Error and rethrow the original exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache Team:Core/Infra Meta label for core/infra team v8.19.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants