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

JS: headers function fails with an exception when used in protocols and/or requests #4598

Closed
notdryft opened this issue Nov 14, 2024 · 1 comment
Assignees
Labels
Module - JS https://github.com/gatling/gatling-js
Milestone

Comments

@notdryft
Copy link
Member

11:31:24.546 [ERROR] i.g.a.Gatling$ - Run crashed
org.graalvm.polyglot.PolyglotException: TypeError: invokeMember (ByteArrayBody) on io.gatling.javaapi.core.CoreDsl failed due to: Multiple applicable overloads found for method name ByteArrayBody (candidates: [Method[public static io.gatling.javaapi.core.Body$WithBytes io.gatling.javaapi.core.CoreDsl.ByteArrayBody(java.lang.String)], Method[public static io.gatling.javaapi.core.Body$WithBytes io.gatling.javaapi.core.CoreDsl.ByteArrayBody(java.util.function.Function)]], arguments: [JavaObject[io.gatling.js.callbacks.ByteArrays$$Lambda/0x00007fc0016dbb20@1a7e799e (io.gatling.js.callbacks.ByteArrays$$Lambda/0x00007fc0016dbb20)] (HostObject)])

This is a regression going from Graal JS 24.0.2 to 24.1.0.

An issue was opened on Graal JS repo and confirmed our suspicions: oracle/graaljs#861

@notdryft notdryft added the Module - JS https://github.com/gatling/gatling-js label Nov 14, 2024
@notdryft notdryft added this to the 3.13.1 milestone Nov 14, 2024
@notdryft notdryft self-assigned this Nov 14, 2024
@notdryft
Copy link
Member Author

Closed by gatling/gatling-js@9cd1877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module - JS https://github.com/gatling/gatling-js
Development

No branches or pull requests

2 participants