Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.3.6, 3.3.7
-
Unknown
Description
We get a NullPointerException in the PrettyLoggingFilter.
It's seems in the PrettyLoggingFilter#shouldPrettyPrint(LogEvent) function the "event.getPayload()" is null.
java.lang.NullPointerException: null
at org.apache.cxf.ext.logging.event.PrettyLoggingFilter.shouldPrettyPrint(PrettyLoggingFilter.java:61)
at org.apache.cxf.ext.logging.event.PrettyLoggingFilter.send(PrettyLoggingFilter.java:49)
at org.apache.cxf.ext.logging.LoggingOutInterceptor$LoggingCallback.onClose(LoggingOutInterceptor.java:199)
at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:219)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:671)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:441)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:356)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:314)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)