Quarkus NPE with no args Method

67 Views Asked by At

I'am developing a quarkus service, which calls a RestClient-Interface. If I call a RestClient without any args, I get a NullPointer Exception. For example:

 @GET
@Path("/test")
@Produces({ "application/json" })
Object getTest();

produces a NPE in the following class from "org.jboss.resteasy.microprofile.client.ProxyInvocationHandler" (v 4.5.0.Final)

 public Object invoke(Object proxy, Method method, Object[] args) 
...
int var11 = args.length; //(this causes the NPE)

Is there any help on fixing this issue?

Thanks!

0

There are 0 best solutions below