Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 8447 invoked from network); 10 Mar 2008 21:16:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2008 21:16:14 -0000 Received: (qmail 8810 invoked by uid 500); 10 Mar 2008 21:16:11 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 8796 invoked by uid 500); 10 Mar 2008 21:16:11 -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 8787 invoked by uid 99); 10 Mar 2008 21:16:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 14:16:11 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 21:15:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 425A4234C08B for ; Mon, 10 Mar 2008 14:14:46 -0700 (PDT) Message-ID: <1906921965.1205183686270.JavaMail.jira@brutus> Date: Mon, 10 Mar 2008 14:14:46 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Resolved: (CXF-1469) NPE with Spring 2.5.2 In-Reply-To: <1647162465.1204988986126.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-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-1469. ------------------------------ Resolution: Fixed Fix Version/s: 2.0.5 > NPE with Spring 2.5.2 > --------------------- > > Key: CXF-1469 > URL: https://issues.apache.org/jira/browse/CXF-1469 > Project: CXF > Issue Type: Bug > Components: Bus > Affects Versions: 2.0.4 > Environment: Spring Framework 2.5.2 > Reporter: akakunin > Fix For: 2.0.5 > > > After upgrading project to use Spring 2.5.2 I've got NPE from CFX: > {{{ > 2008-03-08 18:01:16,503: Allocate exception for servlet CXFServlet > java.lang.NullPointerException > at org.springframework.context.support.AbstractRefreshableConfigApplicationContext.setConfigLocations(AbstractRefreshableConfigApplicationContext.java:78) > at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:137) > at org.apache.cxf.bus.spring.BusApplicationContext.(BusApplicationContext.java:68) > }}} > This happens since BusApplicationContext in it constructor passed null as configLocations param into parent ClassPathXmlApplicationContext, but - if you will see Spring Code - nulls is not allowed (there is assert on null) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.