>
> See comment below
> (https://fisheye6.atlassian.com/browse/cxf/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java?r=c1f3dd3d7051636da5b978866f5df48c8857cdc6)
>
>
/**
* Retrieves ClientConfiguration
* @param client proxy or http-centric Client
* @return underlying ClientConfiguration instance
*/
public static ClientConfiguration getConfig(Object client) {
if (client instanceof WebTargetImpl) {
client = ((WebTargetImpl)client).getWebClient();
} else if (client instanceof InvocationBuilderImpl) {
client = ((InvocationBuilderImpl)client).getWebClient(); //
<==== This is line 309
}
if (client instanceof Client) {
if (client instanceof WebClient) {
return ((AbstractClient)client).getConfiguration();
} else if (client instanceof InvocationHandlerAware) {
Object handler =
((InvocationHandlerAware)client).getInvocationHandler();
return ((AbstractClient)handler).getConfiguration();
}
}
throw new IllegalArgumentException("Not a valid Client");
}
On Mon, Apr 20, 2015 at 4:23 PM, Romain Manni-Bucau <[email protected]>
wrote:
> 2015-04-20 20:49 GMT+02:00 sgjava <[email protected]>:
>
> > The actual error:
> >
> > at org.apache.cxf.jaxrs.client.WebClient.getConfig(WebClient.java:309)
> >
> >
> >
> >
> is there anything here? seems swallowed.
>
>
> >
> >
> > --
> > View this message in context:
> >
> http://tomee-openejb.979440.n4.nabble.com/JAX-RS-POJO-mapping-tp4674454p4674541.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >
>
--
Steven P. Goldsmith