Hi,

I'm trying to set up WS-SecurityPolicy in a binding component. However I
keep hitting the following NullPointerException and can't find out how to
resolve this. I'm sure it's a question of configuration, but can't seem to
find any documentation on how to resolve it. The stacktrace is as follows:

18:29:01,931 | WARN  | 9...@qtp-28677386-0 | PhaseInterceptorChain            |
ache.cxf.common.logging.LogUtils  361 | Interceptor for
{http://www.example.com/Company/StoreDataService}StoreDataService#{http://www.example.com/Company/StoreDataService}GetAllStoreData
has thrown exception, unwinding now
java.lang.NullPointerException
        at
org.apache.servicemix.common.security.AuthenticationService$Proxy$1.invoke(AuthenticationService.java:52)
        at $Proxy77.authenticate(Unknown Source)
        at
org.apache.servicemix.cxfbc.interceptors.JbiJAASInterceptor.handleMessage(JbiJAASInterceptor.java:90)
        at
org.apache.servicemix.cxfbc.interceptors.JbiJAASInterceptor.handleMessage(JbiJAASInterceptor.java:39)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
        at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:109)
        at
org.apache.servicemix.cxfbc.CxfBcConsumer$JbiChainInitiationObserver.onMessage(CxfBcConsumer.java:675)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:312)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:276)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Any help would be greatly appreciated. 
-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/SMX-4-2-0-Using-WS-SecurityPolicy-in-cxf-bc-gives-an-NPE-tp509643p509643.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to