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 6C9509BB3 for ; Tue, 24 Apr 2012 17:43:55 +0000 (UTC) Received: (qmail 72564 invoked by uid 500); 24 Apr 2012 17:43:55 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 72533 invoked by uid 500); 24 Apr 2012 17:43:55 -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 72522 invoked by uid 99); 24 Apr 2012 17:43:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 17:43:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 17:43:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1246640D276 for ; Tue, 24 Apr 2012 17:43:34 +0000 (UTC) Date: Tue, 24 Apr 2012 17:43:34 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: <1280802244.10493.1335289414086.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CXF-4265) Potential NPE when Soap fault has no role MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Daniel Kulp created CXF-4265: -------------------------------- Summary: Potential NPE when Soap fault has no role Key: CXF-4265 URL: https://issues.apache.org/jira/browse/CXF-4265 Project: CXF Issue Type: Bug Components: JAX-WS Runtime Affects Versions: 2.6, 2.5.3, 2.4.7, 2.3.10 Reporter: Daniel Kulp Assignee: Daniel Kulp Fix For: 2.6.1, 2.5.4, 2.4.8, 2.3.11 If a SoapFault does not have a "role" or "actor" defined, the JAX-WS frontend will NPE when converting that to a SOAPFault. {code} Exception in thread "main" java.lang.NullPointerException at com.sun.xml.messaging.saaj.soap.impl.ElementImpl.addTextNode(ElementImpl.java:454) at com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.setFaultRole(Fault1_2Impl.java:338) at com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.setFaultActor(Fault1_2Impl.java:574) at org.apache.cxf.jaxws.JaxWsClientProxy.createSoapFault(JaxWsClientProxy.java:219) {code} -- 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