cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (Commented) (JIRA)" <>
Subject [jira] [Commented] (CXF-4072) NPE in PhaseInterceptorChain
Date Wed, 01 Feb 2012 10:02:58 GMT


Aki Yoshida commented on CXF-4072:

Hi Dan,
Thanks for the information.

That means, we should detect this condition at the endpoint setup and throw an exception.

I am not sure if there is another way to cause this condition.
In that case, it would be better to also check this condition during the runtime and handle
it as an error so that a SOAP fault is returned to the client. Currently, this NPE gets swallowed
and an empty HTTP 200 response is returned. 

Regards, aki
> NPE in PhaseInterceptorChain 
> -----------------------------
>                 Key: CXF-4072
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.5.2
>            Reporter: Vadim Dmitriev
>            Assignee: Aki Yoshida
>         Attachments: cxf.xml, full_processing_log.txt, service.wsdl
> NPE is thrown in PhaseInterceptorChain when fault is thrown in WS impl method:
> java.lang.NullPointerException: null
>  at org.apache.cxf.interceptor.FaultOutInterceptor.getFaultForClass(
>  at org.apache.cxf.interceptor.FaultOutInterceptor.handleMessage(
>  at org.apache.cxf.jaxws.interceptors.WebFaultOutInterceptor.handleMessage(
>  at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
>  at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(
>  at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
>  at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
>  at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(
>  at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
>  at org.apache.cxf.transport.servlet.ServletController.invoke(
>  at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(
>  at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(
>  at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(
>  <...>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message