-
Bug
-
Resolution: Done
-
Major
-
3.0.8.Final
-
None
Attempting to post an empty entity by using: Entity.json(null) which works on glassfish but using RestEasy client causes NPE:
Caused by: java.lang.NullPointerException
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.setEntityObject(ClientInvocation.java:327) [resteasy-client-3.0.8.Final.jar:]
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.setEntity(ClientInvocation.java:305) [resteasy-client-3.0.8.Final.jar:]
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocationBuilder.build(ClientInvocationBuilder.java:122) [resteasy-client-3.0.8.Final.jar:]
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocationBuilder.buildPost(ClientInvocationBuilder.java:141) [resteasy-client-3.0.8.Final.jar:]
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocationBuilder.post(ClientInvocationBuilder.java:201) [resteasy-client-3.0.8.Final.jar:]