Almost 3 month after…
Yes! I have got the exact same issue.
I think this is coming from the fact that the event bus proxy generation doesn’t support generics (because of the lack of real generics in the JVM ?).
The findWithOptions method from the mongo client is supposed to return a list of JsonObject (so List<JsonObject>). And it does, but the message serialization losses the List<JsonObject> information and the proxy helper don’t know what to deserialize. (List<Map> or List<JsonObject> ?)
This is related to an issue I’ve talked about
https://groups.google.com/d/topic/vertx/suRnQFnyybg/discussion
Long story short, if you use the vertx-mongo-service you’ll get this issue quite quickly. Loose the service and use one client per vertx instance and you’ll be fine.
I’m willing to help on this issue (by creating a test case or help fixing it). But I think this is a tricky one and could cause some issue with other vert.x supported languages.
Anyone in the core team to comment on that?
Thanks,
Michel
> On 04 Aug 2015, at 13:25, Jan De Cooman <
jan.de...@neofonie.de> wrote:
>
> Did somebody experience the same issue up til now?
>
> --
> You received this message because you are subscribed to the Google Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
vertx+un...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/vertx.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/vertx/f878ab4f-efdc-4d89-b0e5-53576579bbbf%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.