-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
io.vertx.core.eventbus.EventBus cannot decode List<Long> payload (???) #29436
Comments
cc @mkouba |
I believe that this problem is fixed with #29446. And I wasn't able to reproduce the issue in the main branch. The fix targets 2.14.2.Final and should be backported in 2.13 as well. Unfortunately, I'm not aware of any workaround; maybe just try use a raw type instead of |
However, I'm not quite sure how does the Vert.x event bus handle generic types in the sense that the type is not considered during delivery of the event and e.g. if you send |
Yes, the types must match. |
Agree, given the error message says |
Can confirm that the issue is fixed with 2.14.2.Final. :) |
How about we ban it? This has come to bite us again and again, so I think we should ban it in a some of the core modules, WDYT? |
That makes sense to me -- |
How do we do that? |
I'll open a PR soon :) |
You spoiled the surprise 😆 |
LOL, see #29551 |
Interesting... |
Ban the use of org.jboss.jandex.Type#toString() in core deployment module
Describe the bug
I do something like
eventBus.send("myBusAddress", List.of(1L,2L));
and having a consumer method like
Expected behavior
Was hoping this would just work, meaning that in doAsync the longList = [1L,2L]
Actual behavior
Instead I get
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.13.3.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
When trying to use latest quarkus version 2.14.1.Final breaks my project build with
cannot find symbol
symbol: class OkHttpClient
package okhttp3 does not exist
Think that's another issue I have to create when I dont get this fixed on my own-
The text was updated successfully, but these errors were encountered: