> -----Original Message----- > From: Jan Bernhardt [mailto:jbernha...@talend.com] > Sent: Montag, 21. Januar 2013 17:50 > To: dev@syncope.apache.org > Subject: RE: [Question] ApplicationContextProvider in UnitTests > > > >>> 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. > > Really strange... I had to revert all changes from today, to be able building > syncope again...
Today I even got MaxPermGenSize errors for old revision (1435892) and Surefire plugin terminates my VM... After adding @Ignore to org.apache,syncope.core.rest.data.ResourceDataTest I was able to build trunk version again... All this is very strange. Not sure if this is because of a Java VM update? I'm using Java version: 1.6.0_25, vendor: Sun Microsystems Inc. on Windows 7 64 bit Andrei told me yesterday that he was having similar problems (at this time I was still able to build syncope without any problems)... Anyone else? Are we able to get the windows test running on Jenkins [1] again, or do we need to talk to infrastructure? It looks like that this project still tries to work with incubator SVN URL [2]. Best regards. Jan [1] https://builds.apache.org/view/S-Z/view/Syncope/job/Syncope-windows/ [2] ERROR: Failed to update http://svn.apache.org/repos/asf/incubator/syncope/trunk > > I'll investigate into this issue more by tomorrow. > > Regards. > Jan > > > > > > 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/