cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4072) NPE in PhaseInterceptorChain
Date Tue, 31 Jan 2012 23:07:59 GMT

    [ https://issues.apache.org/jira/browse/CXF-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197366#comment-13197366
] 

Aki Yoshida commented on CXF-4072:
----------------------------------

Hi Vadim,
thanks for the scenario example.

I could reproduce the problem. When a body-less fault message is defined and this exception
is thrown from a jaxws endpoint, it seems to lead to this erroneous situation. We will provide
a patch for this problem shortly.

regards, aki
                
> NPE in PhaseInterceptorChain 
> -----------------------------
>
>                 Key: CXF-4072
>                 URL: https://issues.apache.org/jira/browse/CXF-4072
>             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(FaultOutInterceptor.java:163)
>  at org.apache.cxf.interceptor.FaultOutInterceptor.handleMessage(FaultOutInterceptor.java:67)
>  at org.apache.cxf.jaxws.interceptors.WebFaultOutInterceptor.handleMessage(WebFaultOutInterceptor.java:136)
>  at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
>  at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:107)
>  at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:323)
>  at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)
>  at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
>  at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
>  at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:193)
>  at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:126)
>  at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
>  at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108)
>  <...>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message