-
Bug
-
Resolution: Done
-
Major
-
2.2.2.GA
-
None
Having a service method with a @Form parameter, like:
void setStatus(@PathParam("id") long id, @Form Details details);
And calling it with the client framework, using org.jboss.resteasy.client.ProxyFactory, triggers this exception:
java.lang.NullPointerException at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:36) at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:18) at java.lang.reflect.Field.get(Field.java:358) at org.jboss.resteasy.client.core.marshallers.FormMarshaller.build(FormMarshaller.java:198) at org.jboss.resteasy.client.core.ClientInvoker.createRequest(ClientInvoker.java:134) at org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:99) at org.jboss.resteasy.client.core.ClientProxy.invoke(ClientProxy.java:72)