smallrye / smallrye-graphql

Implementation for MicroProfile GraphQL
Apache License 2.0
158 stars 91 forks source link

TypeSafeClient does not work after update to quarkus 3.13.0 #2158

Open robp94 opened 1 month ago

robp94 commented 1 month ago

Some queries just do not work anymore, we are getting a null pointer on building the request.

The query is just null.

image

io.smallrye.graphql.client.vertx.typesafe.VertxTypesafeGraphQLClientProxy#request

"exceptionType":"java.lang.NullPointerException",
    "message":"Value in JsonObjects name/value pair cannot be null",
    "frames":[
      {
        "class":"org.eclipse.parsson.JsonObjectBuilderImpl",
        "method":"validateValue",
        "line":213
      },
      {
        "class":"org.eclipse.parsson.JsonObjectBuilderImpl",
        "method":"add",
        "line":80
      },
      {
        "class":"io.smallrye.graphql.client.vertx.typesafe.VertxTypesafeGraphQLClientProxy",
        "method":"request",
        "line":310
      },
      {
        "class":"io.smallrye.graphql.client.vertx.typesafe.VertxTypesafeGraphQLClientProxy",
        "method":"invoke",
        "line":146
      },
      {
        "class":"io.smallrye.graphql.client.vertx.typesafe.VertxTypesafeGraphQLClientBuilder",
        "method":"invoke",
        "line":231
      },
      {
        "class":"io.smallrye.graphql.client.vertx.typesafe.VertxTypesafeGraphQLClientBuilder",
        "method":"lambda$build$0",
        "line":191
      },
      {
        "class":"jdk.proxy2.$Proxy32",
        "method":"findBusinessPartnerIdForNumber"
      },
      {
        "class":"de.mobilexag.serviceplatform.api.ApiService_SToUyC7mFq244p-JfL7Tt1LmKTw_Synthetic_ClientProxy",
        "method":"findBusinessPartnerIdForNumber"
      },
      {
        "class":"de.mobilexag.serviceplatform.backend.BusinessPartnerResource",
        "method":"getBusinessPartnerIdForNumber$lambda$0",
        "line":74
      },
jmartisk commented 1 month ago

Have you got a reproducer? This looks like the very basic usage of typesafe client, so if that were broken, we would have known sooner - there must be something specific in your application.