Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 46875 invoked from network); 9 Apr 2007 02:32:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2007 02:32:54 -0000 Received: (qmail 33269 invoked by uid 500); 9 Apr 2007 02:32:59 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 33251 invoked by uid 500); 9 Apr 2007 02:32:59 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 33242 invoked by uid 99); 9 Apr 2007 02:32:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 19:32:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 19:32:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 439F8714057 for ; Sun, 8 Apr 2007 19:32:32 -0700 (PDT) Message-ID: <19170480.1176085952265.JavaMail.jira@brutus> Date: Sun, 8 Apr 2007 19:32:32 -0700 (PDT) From: "Jervis Liu (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Assigned: (CXF-489) code typeo results in null content exception reporting from DispatchImpl In-Reply-To: <16463781.1174913252465.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jervis Liu reassigned CXF-489: ------------------------------ Assignee: Jervis Liu > code typeo results in null content exception reporting from DispatchImpl > ------------------------------------------------------------------------ > > Key: CXF-489 > URL: https://issues.apache.org/jira/browse/CXF-489 > Project: CXF > Issue Type: Bug > Components: Core > Affects Versions: 2.0-M1 > Environment: all > Reporter: Gary Tully > Assigned To: Jervis Liu > Priority: Minor > > Small typo in DispatchImpl:~145[1] results in null message for thrown exception. If clause checks Content but throw does not. Trivial fix required. > if (message.getContent(Exception.class) != null) { > throw new RuntimeException(message.get(Exception.class)); > } > should be accessing non null getContent for the throw I guess. > [1] http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java?view=markup -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.