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
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.