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

4.5.11 sendForm will throw Unhandled exception #2698

Open
gillbates opened this issue Jan 15, 2025 · 3 comments
Open

4.5.11 sendForm will throw Unhandled exception #2698

gillbates opened this issue Jan 15, 2025 · 3 comments
Assignees
Labels

Comments

@gillbates
Copy link

gillbates commented Jan 15, 2025

Questions

the following code works fine in 4.5.9, and it breaks now in 4.5.11

Version

4.5.11

Do you have a reproducer?

       HttpRequest<Buffer> abs = webClient.postAbs(url);
       Future<HttpResponse<Buffer>> send = abs.sendForm(form);

and now it throws following exception

[01-15 11:30:12.882][vert.x-eventloop-thread-1][ERROR][i.v.c.i.ContextImpl][] - [Unhandled exception]
java.lang.IllegalArgumentException: null
	at io.vertx.ext.web.client.impl.MultipartFormUpload.run(MultipartFormUpload.java:142) ~[vertx-web-client-4.5.11.jar:4.5.11]
	at io.vertx.ext.web.client.impl.HttpContext.lambda$handleCreateRequest$3(HttpContext.java:464) ~[vertx-web-client-4.5.11.jar:4.5.11]
	at io.vertx.core.impl.future.FutureImpl$4.onSuccess(FutureImpl.java:176) ~[vertx-core-4.5.11.jar:4.5.11]
	at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:66) ~[vertx-core-4.5.11.jar:4.5.11]
	at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:259) ~[vertx-core-4.5.11.jar:4.5.11]
	at io.vertx.core.Promise.complete(Promise.java:66) ~[vertx-core-4.5.11.jar:4.5.11]
	at io.vertx.ext.web.client.impl.HttpContext.handleSendRequest(HttpContext.java:564) ~[vertx-web-client-4.5.11.jar:4.5.11]
	at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:375) ~[vertx-web-client-4.5.11.jar:4.5.11]
	at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.5.11.jar:4.5.11]
	at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.5.11.jar:4.5.11]
	at io.vertx.ext.web.client.impl.HttpContext.sendRequest(HttpContext.java:232) ~[vertx-web-client-4.5.11.jar:4.5.11]
	at io.vertx.ext.web.client.impl.HttpContext.lambda$handleCreateRequest$6(HttpContext.java:496) ~[vertx-web-client-4.5.11.jar:4.5.11]
	at io.vertx.core.impl.future.FutureImpl$4.onSuccess(FutureImpl.java:176) ~[vertx-core-4.5.11.jar:4.5.11]
	at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:66) ~[vertx-core-4.5.11.jar:4.5.11]
	at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:259) ~[vertx-core-4.5.11.jar:4.5.11]

please help to check

@gillbates gillbates added the bug label Jan 15, 2025
@gillbates gillbates changed the title 4.5.11 will throw Unhandled exception 4.5.11 sendForm will throw Unhandled exception Jan 15, 2025
@tsegismont tsegismont self-assigned this Jan 15, 2025
@tsegismont
Copy link
Contributor

Possible duplicate of #2685

@tsegismont
Copy link
Contributor

tsegismont commented Jan 16, 2025

Do you have a reproducer ? I thought it might a duplicate of #2685 given the symptom is the same. But using the reproducer from the other issue, there is a failure with 5.0.0.CR3, but not 4.5.11

@tsegismont
Copy link
Contributor

Can you please checkout the Vert.x core 4.x branch, revert eclipse-vertx/vert.x#5279, create a custom build and try it in your environment?

If the IAE goes away, I will be able to confirm it's a problem with sticky context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants