You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Akitoshi Yoshida (JIRA)" <ji...@apache.org> on 2015/10/22 17:45:27 UTC
[jira] [Resolved] (CXF-6653) NPE may result while generating a
SequenceFault in WS-RM 1.1
[ https://issues.apache.org/jira/browse/CXF-6653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akitoshi Yoshida resolved CXF-6653.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.1.4
3.0.7
2.7.18
> NPE may result while generating a SequenceFault in WS-RM 1.1
> ------------------------------------------------------------
>
> Key: CXF-6653
> URL: https://issues.apache.org/jira/browse/CXF-6653
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 3.0.6, 3.1.3
> Reporter: Akitoshi Yoshida
> Assignee: Akitoshi Yoshida
> Fix For: 2.7.18, 3.0.7, 3.1.4
>
>
> When an invalid sequence is received at the server and while generating a WS-RM 1.1 SequenceFault, an NPE may be thrown, resulting in no content (no SequenceFault) is generated.
> java.lang.NullPointerException
> at org.apache.cxf.ws.rm.EncoderDecoder11Impl.buildHeaderFault(EncoderDecoder11Impl.java:145)
> at org.apache.cxf.ws.rm.EncoderDecoder.buildHeaderFault(EncoderDecoder.java:166)
> at org.apache.cxf.ws.rm.soap.RMSoapOutInterceptor.encodeFault(RMSoapOutInterceptor.java:174)
> at org.apache.cxf.ws.rm.soap.RMSoapOutInterceptor.encode(RMSoapOutInterceptor.java:114)
> at org.apache.cxf.ws.rm.soap.RMSoapOutInterceptor.handleMessage(RMSoapOutInterceptor.java:99)
> at org.apache.cxf.ws.rm.soap.RMSoapOutInterceptor.handleMessage(RMSoapOutInterceptor.java:61)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113)
> at org.apache.cxf.phase.PhaseInterceptorChain.wrapExceptionAsFault(PhaseInterceptorChain.java:365)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:323)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)