On 21/01/2013 17:23, Jan Bernhardt wrote:
-----Original Message-----
From: Francesco Chicchiriccò [mailto:ilgro...@apache.org]
Sent: Montag, 21. Januar 2013 17:14
To: dev@syncope.apache.org
Subject: Re: [Question] ApplicationContextProvider in UnitTests
On 21/01/2013 17:07, Jan Bernhardt wrote:
Hi,
Since last SVN update, I cannot build syncope on my system, due to never ending
UnitTests.
Which update? Was this incorporated in latest Jenkins build? [1]
I guess my problems are related to:
Revision 1436375 by ilgrosso:
[SYNCOPE-249] core: extension for propagation implemented
Hum, strange: this change was incorporated in [1] by Jenkins.
Since I'm having problems with persistence tests. I will try to checkout
earlier version and see if I can build this one.
While trying to investigate into this issue, I tried to run unit test in my
eclipse IDE. Most test are ok, but some fail due to a NullpointerException.
This exception is caused because
"ApplicationContextProvider.getApplicationContext()" is null. Analysing
spring config and code, I cannot see/understand where/who is the
ApplicationContextProvider.ctx initialized?
Any help is very welcome, as well as a feedback, if you can still make clean
install without problems?
ApplicationContextProvider is initialized after Spring context set up since it
implements ApplicationContextAware.
Understood. Thanks.
Best regards.
Jan
[1] https://builds.apache.org/view/S-Z/view/Syncope/job/Syncope-
trunk/464/
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/