I'm having the exact same problem, except that I'm using the
JaxWsProxyFactoryBean to create a Client proxy that I cache and call from
multi-threaded code:

        JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
        factory.setAddress(url);

        factory.getInInterceptors().add(new LoggingInInterceptor());
        factory.getOutInterceptors().add(new LoggingOutInterceptor());

        Object o = factory.create(mainInterface);
        Client client = ClientProxy.getClient(o);

I do this as a generic way of supporting proxies for many different
interfaces. What do you suggest in this case to avoid the
NullPointerException out of ClientImpl.onMessage() where the 'bus' is null
when attempting to get the PhaseManager?

Ryan



--
View this message in context: 
http://cxf.547215.n5.nabble.com/ClientProxy-throws-NullPointerException-when-invoking-its-invoke-tp5723532p5723607.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to