If I don't add cglib then all of the core tests fail with:

java.lang.IllegalStateException: Failed to load ApplicationContext
        at
org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:67)

Colm.


On Wed, May 8, 2013 at 9:55 AM, Francesco Chicchiriccò
<ilgro...@apache.org>wrote:

> On 08/05/2013 09:51, Colm O hEigeartaigh wrote:
>
>> Hi all,
>>
>> I'm experimenting with using Syncope (1.1.X) with Spring 3.1.4. I've also
>> added a cglib 2.2.2 dependency to core. I get a small number of test
>> failures in core:
>>
>>    AttributableSearchTest.**searchByPageAndSize:186 expected:<1> but
>> was:<0>
>>    AttributableSearchTest.**searchByUsernameAndFullname:**320
>> expected:<2> but
>> was:<0>
>>    AttributableSearchTest.**searchByUsernameAndId:273 expected:<1> but
>> was:<0>
>>    AttributableSearchTest.**searchByIsNull:224 expected:<4> but was:<0>
>>    AttributableSearchTest.**searchByBoolean:156 expected:<1> but was:<0>
>>    AttributableSearchTest.**searchById:337 expected:<1> but was:<0>
>>    AttributableSearchTest.**searchWithLikeCondition:119 expected:<1> but
>> was:<0>
>>    AttributableSearchTest.**searchByResource:253 expected:<1> but was:<0>
>>    AttributableSearchTest.**searchWithNotCondition:134 expected:<4> but
>> was:<0>
>>    AttributableSearchTest.**issue202:376 expected:<2> but was:<0>
>>    AttributableSearchTest.**searchByMembership:203 expected:<2> but
>> was:<0>
>>    AttributableSearchTest.**issueSYNCOPE46:413 expected:<1> but was:<0>
>>    AttributableSearchTest.**searchByRolenameAndId:297 expected:<1> but
>> was:<0>
>>    AttributableSearchTest.**issueSYNCOPE95:79 expected:<1> but was:<0>
>>
>> Some NotificationTests fail as well. Any ideas why these tests are
>> failing?
>>
>
> Manually adding CGLib should break the Spring's application context
> loading.
>
> Any particular reason why you added this back (it used to be there but
> I've removed as part of some Spring dependency upgrade - see [1])?
>
> [1] 
> https://jira.springsource.org/**browse/SPR-9669<https://jira.springsource.org/browse/SPR-9669>
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~**ilgrosso/<http://people.apache.org/~ilgrosso/>
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to