Skip to content
Discussion options

You must be logged in to vote

I have no experience with Bazel, so take this with a bucket of salt, but looking at the exception, IllegalArgumentException should happen when you try to set a field value that's not assignable to the field type.
Now, from a quick look at Quarkus code, I assume the bean in question is this synth. bean; or rather it's client proxy since the bean is normal scoped. Either way, the resulting object should have the PgPool type.
I'd probably start by debugging io.quarkus.arc.impl.Reflections#writeField(...) to try and spot what exactly is being assigned and why it causes IAE.

As a side note - Quarkus does its fair bit of class loader magic (as can be seen in this file) while setting up a test u…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@olev-mutso
Comment options

@mkouba
Comment options

mkouba Apr 20, 2023
Collaborator

@Ladicek
Comment options

Ladicek Apr 20, 2023
Collaborator

Answer selected by olev-mutso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/arc Issue related to ARC (dependency injection) area/reactive-sql-clients
4 participants