You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/03/10 22:14:46 UTC

[jira] Resolved: (CXF-1469) NPE with Spring 2.5.2

     [ 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.<init>(ClassPathXmlApplicationContext.java:137)
> 	at org.apache.cxf.bus.spring.BusApplicationContext.<init>(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.