cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CXF-4072) NPE in PhaseInterceptorChain
Date Fri, 27 Jan 2012 18:16:10 GMT

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

Aki Yoshida edited comment on CXF-4072 at 1/27/12 6:14 PM:
-----------------------------------------------------------

Hi Vadim,
Initially, I thought there seemed to be an issue.
But somehow I am not able to reproduce the problem. 
I would like to understand why an NPE is thrown from that line.

Do you have a test case that I can look at?

Thanks.
Regards, aki
                
      was (Author: ay):
    not just this NPE thrown from this line, there seems to be an issue in the fault processing.

                  
> 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: full_processing_log.txt
>
>
> 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