Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0787B1044B for ; Thu, 22 Oct 2015 15:45:28 +0000 (UTC) Received: (qmail 54390 invoked by uid 500); 22 Oct 2015 15:45:27 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 54354 invoked by uid 500); 22 Oct 2015 15:45:27 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 54341 invoked by uid 99); 22 Oct 2015 15:45:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2015 15:45:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B09602C1F5F for ; Thu, 22 Oct 2015 15:45:27 +0000 (UTC) Date: Thu, 22 Oct 2015 15:45:27 +0000 (UTC) From: "Akitoshi Yoshida (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CXF-6653) NPE may result while generating a SequenceFault in WS-RM 1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)