|
From: Rod J. <rod...@in...> - 2004-06-24 10:21:59
|
Both Juergen and I ran all tests OK last night, after I did a big checkin... They should pass at all times! Is there any more specific error information? ---- Original message ---- >Date: Thu, 24 Jun 2004 11:16:19 +0100 >From: jas...@ma... >Subject: [Springframework-developer] do unit tests fail in CVS HEAD for others? >To: spr...@li... > >Just wanted to check it wasn't something I'd done (like that trivial >patch I just posted :-) but I get heaps of tests failing with CVS HEAD. >Is this to be expected or is there something screwy going on? > > [junit] Running >org.springframework.aop.framework.adapter.AdvisorAdapterRegis trationTest >s > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 7.202 >sec > [junit] Running >org.springframework.aop.framework.adapter.ThrowsAdviceInterce ptorTests > [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.587 >sec > [junit] Running >org.springframework.aop.framework.autoproxy.AdvisorAutoProxyC reatorTests > [junit] Tests run: 12, Failures: 0, Errors: 7, Time elapsed: 9.415 >sec > [junit] [ERROR] TEST >org.springframework.aop.framework.autoproxy.AdvisorAutoProxyC reatorTests > FAILED > [junit] Running >org.springframework.aop.framework.autoproxy.AutoProxyCreatorT estSuite > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.418 >sec > [junit] [ERROR] TEST >org.springframework.aop.framework.autoproxy.AutoProxyCreatorT estSuite >FAILED > [junit] Running >org.springframework.aop.framework.autoproxy.BeanNameAutoProxy CreatorTest >s > [junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 5.26 sec > [junit] [ERROR] TEST >org.springframework.aop.framework.autoproxy.BeanNameAutoProxy CreatorTest >s FAILED > [junit] Running >org.springframework.aop.framework.autoproxy.metadata.CommonsA ttributesMe >tadataAutoProxyTests > [junit] Tests run: 13, Failures: 9, Errors: 2, Time elapsed: 7.309 >sec > [junit] [ERROR] TEST >org.springframework.aop.framework.autoproxy.metadata.CommonsA ttributesMe >tadataAutoProxyTests FAILED > [junit] Running >org.springframework.aop.framework.autoproxy.metadata.DummyAtt ributesMeta >dataAutoProxyTests > [junit] Tests run: 13, Failures: 0, Errors: 3, Time elapsed: 7.537 >sec > [junit] [ERROR] TEST >org.springframework.aop.framework.autoproxy.metadata.DummyAtt ributesMeta >dataAutoProxyTests FAILED > [junit] Running org.springframework.aop.framework.CglibProxyTests > [junit] Tests run: 42, Failures: 2, Errors: 35, Time elapsed: 3.232 >sec > [junit] [ERROR] TEST >org.springframework.aop.framework.CglibProxyTests FAILED > [junit] Running >org.springframework.aop.framework.JdkDynamicProxyTests > [junit] Tests run: 42, Failures: 0, Errors: 0, Time elapsed: 5.2 sec > [junit] Running >org.springframework.aop.framework.MethodInvocationTests > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.471 >sec > [junit] Running >org.springframework.aop.framework.OptimizedCglibProxyTests > [junit] Tests run: 42, Failures: 2, Errors: 34, Time elapsed: 3.257 >sec > [junit] [ERROR] TEST >org.springframework.aop.framework.OptimizedCglibProxyTests FAILED > [junit] Running >org.springframework.aop.framework.ProxyFactoryBeanTests > [junit] Tests run: 20, Failures: 0, Errors: 6, Time elapsed: 9.424 >sec > [junit] [ERROR] TEST >org.springframework.aop.framework.ProxyFactoryBeanTests FAILED > [junit] Running org.springframework.aop.framework.ProxyFactoryTests > [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.277 >sec > [junit] Running >org.springframework.aop.interceptor.ConcurrencyThrottleInterc eptorTests > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.01 sec > [junit] Running org.springframework.aop.support.AopUtilsTests > [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.375 >sec > [junit] Running org.springframework.aop.support.ClassFiltersTests > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.289 >sec > [junit] Running >org.springframework.aop.support.ComposablePointcutTests > [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.232 >sec > [junit] Running >org.springframework.aop.support.ControlFlowPointcutTests > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.028 >sec > [junit] Running >org.springframework.aop.support.DelegatingIntroductionInterce ptorTests > [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 2.63 sec > [junit] Running org.springframework.aop.support.MethodMatchersTests > [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.481 >sec > [junit] Running org.springframework.aop.support.PointcutsTests > [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.202 >sec > [junit] Running >org.springframework.aop.support.RegexpMethodPointcutAroundAdv isorIntegra >tionTests > [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 4.099 >sec > [junit] [ERROR] TEST >org.springframework.aop.support.RegexpMethodPointcutAroundAdv isorIntegra >tionTests FAILED > [junit] Running >org.springframework.aop.support.RegexpMethodPointcutTests > [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.923 >sec > [junit] Running >org.springframework.aop.target.CommonsPoolTargetSourceTests > [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 3.872 >sec > [junit] [ERROR] TEST >org.springframework.aop.target.CommonsPoolTargetSourceTests FAILED > [junit] Running >org.springframework.aop.target.HotSwappableTargetSourceTests > [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 4.189 >sec > [junit] [ERROR] TEST >org.springframework.aop.target.HotSwappableTargetSourceTests FAILED > [junit] Running >org.springframework.aop.target.PrototypeTargetSourceTests > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.708 >sec > [junit] [ERROR] TEST >org.springframework.aop.target.PrototypeTargetSourceTests FAILED > [junit] Running >org.springframework.aop.target.ThreadLocalTargetSourceTests > [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 4.057 >sec > [junit] [ERROR] TEST >org.springframework.aop.target.ThreadLocalTargetSourceTests FAILED > [junit] Running org.springframework.beans.BeanUtilsTests > > >James >------- >http://radio.weblogs.com/0112098/ > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework- developer |
|
From: <jue...@we...> - 2004-06-24 10:36:09
|
Those might be the tests that depend on attribute compilation via =
Commons Attributes. Do you run them through the "tests" target of our =
build.xml? Else (like when running them via IntelliJ directly), the =
attribute-related tests will always fail.
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of jas...@ma...
Sent: Thursday, June 24, 2004 12:16 PM
To: spr...@li...
Subject: [Springframework-developer] do unit tests fail in CVS HEAD for
others?
Just wanted to check it wasn't something I'd done (like that trivial =20
patch I just posted :-) but I get heaps of tests failing with CVS HEAD. =
Is this to be expected or is there something screwy going on?
[junit] Running =20
org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationTest =
s
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 7.202 =20
sec
[junit] Running =20
org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.587 =20
sec
[junit] Running =20
org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests
[junit] Tests run: 12, Failures: 0, Errors: 7, Time elapsed: 9.415 =
sec
[junit] [ERROR] TEST =20
org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests =
FAILED
[junit] Running =20
org.springframework.aop.framework.autoproxy.AutoProxyCreatorTestSuite
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.418 =20
sec
[junit] [ERROR] TEST =20
org.springframework.aop.framework.autoproxy.AutoProxyCreatorTestSuite =20
FAILED
[junit] Running =20
org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreatorTest =
s
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 5.26 =
sec
[junit] [ERROR] TEST =20
org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreatorTest =
s FAILED
[junit] Running =20
org.springframework.aop.framework.autoproxy.metadata.CommonsAttributesMe =
tadataAutoProxyTests
[junit] Tests run: 13, Failures: 9, Errors: 2, Time elapsed: 7.309 =
sec
[junit] [ERROR] TEST =20
org.springframework.aop.framework.autoproxy.metadata.CommonsAttributesMe =
tadataAutoProxyTests FAILED
[junit] Running =20
org.springframework.aop.framework.autoproxy.metadata.DummyAttributesMeta =
dataAutoProxyTests
[junit] Tests run: 13, Failures: 0, Errors: 3, Time elapsed: 7.537 =
sec
[junit] [ERROR] TEST =20
org.springframework.aop.framework.autoproxy.metadata.DummyAttributesMeta =
dataAutoProxyTests FAILED
[junit] Running org.springframework.aop.framework.CglibProxyTests
[junit] Tests run: 42, Failures: 2, Errors: 35, Time elapsed: 3.232 =
=20
sec
[junit] [ERROR] TEST =20
org.springframework.aop.framework.CglibProxyTests FAILED
[junit] Running =20
org.springframework.aop.framework.JdkDynamicProxyTests
[junit] Tests run: 42, Failures: 0, Errors: 0, Time elapsed: 5.2 =
sec
[junit] Running =20
org.springframework.aop.framework.MethodInvocationTests
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.471 =20
sec
[junit] Running =20
org.springframework.aop.framework.OptimizedCglibProxyTests
[junit] Tests run: 42, Failures: 2, Errors: 34, Time elapsed: 3.257 =
=20
sec
[junit] [ERROR] TEST =20
org.springframework.aop.framework.OptimizedCglibProxyTests FAILED
[junit] Running =20
org.springframework.aop.framework.ProxyFactoryBeanTests
[junit] Tests run: 20, Failures: 0, Errors: 6, Time elapsed: 9.424 =
sec
[junit] [ERROR] TEST =20
org.springframework.aop.framework.ProxyFactoryBeanTests FAILED
[junit] Running org.springframework.aop.framework.ProxyFactoryTests
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.277 =20
sec
[junit] Running =20
org.springframework.aop.interceptor.ConcurrencyThrottleInterceptorTests
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.01 =
sec
[junit] Running org.springframework.aop.support.AopUtilsTests
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.375 =20
sec
[junit] Running org.springframework.aop.support.ClassFiltersTests
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.289 =20
sec
[junit] Running =20
org.springframework.aop.support.ComposablePointcutTests
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.232 =20
sec
[junit] Running =20
org.springframework.aop.support.ControlFlowPointcutTests
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.028 =20
sec
[junit] Running =20
org.springframework.aop.support.DelegatingIntroductionInterceptorTests
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 2.63 =
sec
[junit] Running org.springframework.aop.support.MethodMatchersTests
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.481 =20
sec
[junit] Running org.springframework.aop.support.PointcutsTests
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.202 =20
sec
[junit] Running =20
org.springframework.aop.support.RegexpMethodPointcutAroundAdvisorIntegra =
tionTests
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 4.099 =20
sec
[junit] [ERROR] TEST =20
org.springframework.aop.support.RegexpMethodPointcutAroundAdvisorIntegra =
tionTests FAILED
[junit] Running =20
org.springframework.aop.support.RegexpMethodPointcutTests
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.923 =20
sec
[junit] Running =20
org.springframework.aop.target.CommonsPoolTargetSourceTests
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 3.872 =20
sec
[junit] [ERROR] TEST =20
org.springframework.aop.target.CommonsPoolTargetSourceTests FAILED
[junit] Running =20
org.springframework.aop.target.HotSwappableTargetSourceTests
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 4.189 =20
sec
[junit] [ERROR] TEST =20
org.springframework.aop.target.HotSwappableTargetSourceTests FAILED
[junit] Running =20
org.springframework.aop.target.PrototypeTargetSourceTests
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.708 =20
sec
[junit] [ERROR] TEST =20
org.springframework.aop.target.PrototypeTargetSourceTests FAILED
[junit] Running =20
org.springframework.aop.target.ThreadLocalTargetSourceTests
[junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 4.057 =20
sec
[junit] [ERROR] TEST =20
org.springframework.aop.target.ThreadLocalTargetSourceTests FAILED
[junit] Running org.springframework.beans.BeanUtilsTests
James
-------
http://radio.weblogs.com/0112098/
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20
digital self defense, top technical experts, no vendor pitches,=20
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Alef A. <al...@jt...> - 2004-06-24 10:41:30
|
They succeeded here last night as well... Alef > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On Behalf > Of Rod Johnson > Sent: Thursday, June 24, 2004 12:31 PM > To: spr...@li... > Subject: Re: [Springframework-developer] do unit tests fail in CVS HEAD > for others? >=20 > Both Juergen and I ran all tests OK last night, after I did a > big checkin... They should pass at all times! >=20 > Is there any more specific error information? >=20 > ---- Original message ---- > >Date: Thu, 24 Jun 2004 11:16:19 +0100 > >From: jas...@ma... > >Subject: [Springframework-developer] do unit tests fail in > CVS HEAD for others? > >To: spr...@li... > > > >Just wanted to check it wasn't something I'd done (like that > trivial > >patch I just posted :-) but I get heaps of tests failing > with CVS HEAD. > >Is this to be expected or is there something screwy going on? > > > > [junit] Running > >org.springframework.aop.framework.adapter.AdvisorAdapterRegis > trationTest > >s > > [junit] Tests run: 2, Failures: 0, Errors: 0, Time > elapsed: 7.202 > >sec > > [junit] Running > >org.springframework.aop.framework.adapter.ThrowsAdviceInterce > ptorTests > > [junit] Tests run: 6, Failures: 0, Errors: 0, Time > elapsed: 4.587 > >sec > > [junit] Running > >org.springframework.aop.framework.autoproxy.AdvisorAutoProxyC > reatorTests > > [junit] Tests run: 12, Failures: 0, Errors: 7, Time > elapsed: 9.415 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.framework.autoproxy.AdvisorAutoProxyC > reatorTests > > FAILED > > [junit] Running > >org.springframework.aop.framework.autoproxy.AutoProxyCreatorT > estSuite > > [junit] Tests run: 1, Failures: 0, Errors: 1, Time > elapsed: 3.418 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.framework.autoproxy.AutoProxyCreatorT > estSuite > >FAILED > > [junit] Running > >org.springframework.aop.framework.autoproxy.BeanNameAutoProxy > CreatorTest > >s > > [junit] Tests run: 5, Failures: 0, Errors: 5, Time > elapsed: 5.26 sec > > [junit] [ERROR] TEST > >org.springframework.aop.framework.autoproxy.BeanNameAutoProxy > CreatorTest > >s FAILED > > [junit] Running > >org.springframework.aop.framework.autoproxy.metadata.CommonsA > ttributesMe > >tadataAutoProxyTests > > [junit] Tests run: 13, Failures: 9, Errors: 2, Time > elapsed: 7.309 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.framework.autoproxy.metadata.CommonsA > ttributesMe > >tadataAutoProxyTests FAILED > > [junit] Running > >org.springframework.aop.framework.autoproxy.metadata.DummyAtt > ributesMeta > >dataAutoProxyTests > > [junit] Tests run: 13, Failures: 0, Errors: 3, Time > elapsed: 7.537 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.framework.autoproxy.metadata.DummyAtt > ributesMeta > >dataAutoProxyTests FAILED > > [junit] Running > org.springframework.aop.framework.CglibProxyTests > > [junit] Tests run: 42, Failures: 2, Errors: 35, Time > elapsed: 3.232 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.framework.CglibProxyTests FAILED > > [junit] Running > >org.springframework.aop.framework.JdkDynamicProxyTests > > [junit] Tests run: 42, Failures: 0, Errors: 0, Time > elapsed: 5.2 sec > > [junit] Running > >org.springframework.aop.framework.MethodInvocationTests > > [junit] Tests run: 2, Failures: 0, Errors: 0, Time > elapsed: 1.471 > >sec > > [junit] Running > >org.springframework.aop.framework.OptimizedCglibProxyTests > > [junit] Tests run: 42, Failures: 2, Errors: 34, Time > elapsed: 3.257 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.framework.OptimizedCglibProxyTests > FAILED > > [junit] Running > >org.springframework.aop.framework.ProxyFactoryBeanTests > > [junit] Tests run: 20, Failures: 0, Errors: 6, Time > elapsed: 9.424 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.framework.ProxyFactoryBeanTests > FAILED > > [junit] Running > org.springframework.aop.framework.ProxyFactoryTests > > [junit] Tests run: 9, Failures: 0, Errors: 0, Time > elapsed: 2.277 > >sec > > [junit] Running > >org.springframework.aop.interceptor.ConcurrencyThrottleInterc > eptorTests > > [junit] Tests run: 2, Failures: 0, Errors: 0, Time > elapsed: 3.01 sec > > [junit] Running > org.springframework.aop.support.AopUtilsTests > > [junit] Tests run: 7, Failures: 0, Errors: 0, Time > elapsed: 1.375 > >sec > > [junit] Running > org.springframework.aop.support.ClassFiltersTests > > [junit] Tests run: 2, Failures: 0, Errors: 0, Time > elapsed: 1.289 > >sec > > [junit] Running > >org.springframework.aop.support.ComposablePointcutTests > > [junit] Tests run: 4, Failures: 0, Errors: 0, Time > elapsed: 1.232 > >sec > > [junit] Running > >org.springframework.aop.support.ControlFlowPointcutTests > > [junit] Tests run: 2, Failures: 0, Errors: 0, Time > elapsed: 2.028 > >sec > > [junit] Running > >org.springframework.aop.support.DelegatingIntroductionInterce > ptorTests > > [junit] Tests run: 7, Failures: 0, Errors: 0, Time > elapsed: 2.63 sec > > [junit] Running > org.springframework.aop.support.MethodMatchersTests > > [junit] Tests run: 4, Failures: 0, Errors: 0, Time > elapsed: 1.481 > >sec > > [junit] Running > org.springframework.aop.support.PointcutsTests > > [junit] Tests run: 7, Failures: 0, Errors: 0, Time > elapsed: 1.202 > >sec > > [junit] Running > >org.springframework.aop.support.RegexpMethodPointcutAroundAdv > isorIntegra > >tionTests > > [junit] Tests run: 2, Failures: 0, Errors: 2, Time > elapsed: 4.099 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.support.RegexpMethodPointcutAroundAdv > isorIntegra > >tionTests FAILED > > [junit] Running > >org.springframework.aop.support.RegexpMethodPointcutTests > > [junit] Tests run: 5, Failures: 0, Errors: 0, Time > elapsed: 1.923 > >sec > > [junit] Running > >org.springframework.aop.target.CommonsPoolTargetSourceTests > > [junit] Tests run: 3, Failures: 0, Errors: 3, Time > elapsed: 3.872 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.target.CommonsPoolTargetSourceTests > FAILED > > [junit] Running > >org.springframework.aop.target.HotSwappableTargetSourceTests > > [junit] Tests run: 3, Failures: 0, Errors: 3, Time > elapsed: 4.189 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.target.HotSwappableTargetSourceTests > FAILED > > [junit] Running > >org.springframework.aop.target.PrototypeTargetSourceTests > > [junit] Tests run: 1, Failures: 0, Errors: 1, Time > elapsed: 3.708 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.target.PrototypeTargetSourceTests > FAILED > > [junit] Running > >org.springframework.aop.target.ThreadLocalTargetSourceTests > > [junit] Tests run: 4, Failures: 0, Errors: 4, Time > elapsed: 4.057 > >sec > > [junit] [ERROR] TEST > >org.springframework.aop.target.ThreadLocalTargetSourceTests > FAILED > > [junit] Running org.springframework.beans.BeanUtilsTests > > > > > >James > >------- > >http://radio.weblogs.com/0112098/ > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by Black Hat Briefings & > Training. > >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >=20 > >digital self defense, top technical experts, no vendor > pitches, > >unmatched networking opportunities. Visit www.blackhat.com > >_______________________________________________ > >Springframework-developer mailing list > >Spr...@li... > >https://lists.sourceforge.net/lists/listinfo/springframework- > developer >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 |
|
From: Rod J. <rod...@in...> - 2004-06-24 11:01:58
|
>Am just doing a fresh checkout and trying again... Do folks run the >tests via Maven or Ant? I use Ant, or (usually) run the tests within Eclipse. I think the other devs use Ant also. I wouldn't be astounded if the Maven script is out of date. |
|
From: Thomas R. <tho...@tr...> - 2004-06-24 11:48:02
|
Speaking of Eclipse - I keep seeing two tests fail from Eclipse. They are both in the ClassPathXmlApplicationContextTestSuite. One is anError and the other a Failure. They do run ok from command line Ant. Are you seeing that as well? Thomas Rod Johnson wrote: >>Am just doing a fresh checkout and trying again... Do folks >> >> >run the > > >>tests via Maven or Ant? >> >> > >I use Ant, or (usually) run the tests within Eclipse. > >I think the other devs use Ant also. I wouldn't be astounded >if the Maven script is out of date. > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > |
|
From: Luke T. <ne...@fr...> - 2004-06-24 23:24:00
|
Rod Johnson wrote: >>Am just doing a fresh checkout and trying again... Do folks > > run the > >>tests via Maven or Ant? > > > I use Ant, or (usually) run the tests within Eclipse. > > I think the other devs use Ant also. I wouldn't be astounded > if the Maven script is out of date. > I try to keep it up to date enough to keep the build running on daily basis (usually changed/moved jars are the problem), but keeping track of breaks in the tests is trickier. Luke. -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk |
|
From: <jue...@we...> - 2004-06-24 11:51:50
|
Rod saw those ClassPathXmlApplicationContextTestSuite failures yesterday = too. They are both related to file path patterns: in case of classpath = resources, the class loader must allow to resolve them as files, else = the tests will fail. Eclipse's test class loader seems to be too = restrictive here, while Ant does allow this. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Thomas Risberg Sent: Thursday, June 24, 2004 1:48 PM To: spr...@li... Subject: Re: [Springframework-developer] do unit tests fail in CVS HEAD for others? Speaking of Eclipse - I keep seeing two tests fail from Eclipse. They=20 are both in the ClassPathXmlApplicationContextTestSuite. One is anError = and the other a Failure. They do run ok from command line Ant. Are you = seeing that as well? Thomas Rod Johnson wrote: >>Am just doing a fresh checkout and trying again... Do folks=20 >> =20 >> >run the=20 > =20 > >>tests via Maven or Ant? >> =20 >> > >I use Ant, or (usually) run the tests within Eclipse. > >I think the other devs use Ant also. I wouldn't be astounded=20 >if the Maven script is out of date. > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20 >digital self defense, top technical experts, no vendor pitches,=20 >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > =20 > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20 digital self defense, top technical experts, no vendor pitches,=20 unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2004-06-24 12:47:12
|
Seems to be a classloading problem... maybe an incompatible CGLIB = version somewhere else in the classpath? Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of jas...@ma... Sent: Thursday, June 24, 2004 1:01 PM To: spr...@li... Subject: Re: [Springframework-developer] do unit tests fail in CVS HEAD for others? On 24 Jun 2004, at 11:52, jas...@ma... wrote: > > On 24 Jun 2004, at 11:21, Rod Johnson wrote: > >> Both Juergen and I ran all tests OK last night, after I did a >> big checkin... They should pass at all times! >> >> Is there any more specific error information? > > I'm on the latest greatest OS X if that helps. JVM... > > java version "1.4.2_03" > Java(TM) 2 Runtime Environment, Standard Edition (build = 1.4.2_03-117.1) > Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode) > > Maven 1.0-RC1 > > I ran them via > > maven tests > > Am just doing a fresh checkout and trying again... Do folks run the=20 > tests via Maven or Ant? FWIW here are some of the errors attached |
|
From: <jas...@ma...> - 2004-06-24 13:02:04
|
On 24 Jun 2004, at 13:47, j=FCrgen h=F6ller [werk3AT] wrote:
> Seems to be a classloading problem... maybe an incompatible CGLIB =20
> version somewhere else in the classpath?
BTW the failure when running the tests via Ant doesn't have anything to =20=
do with Maven versions or CLASSPATHs AFAIK... (BTW the stuff in lib/ext =20=
was put there by Apple, not me)
macstrac:~/cvs/spring jstrachan$ echo $CLASSPATH
macstrac:~/cvs/spring jstrachan$ ls $JAVA_HOME/lib/ext
apple_provider.jar ldapsec.jar localedata.jar =20=
sunjce_provider.jar
macstrac:~/cvs/spring jstrachan$ ant tests
Buildfile: build.xml
compileattr:
[attribute-compiler] Generated attribute information for 0 classes. =20
Ignored 0 classes.
build:
buildmock:
compiletestattr:
[attribute-compiler] Generated attribute information for 0 classes. =20
Ignored 1 classes.
buildtests:
tests:
[junit] Running =20
org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationTest=20=
s
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.857 =20=
sec
[junit] Testsuite: =20
org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationTest=20=
s
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.857 =20=
sec
[junit] ------------- Standard Output ---------------
[junit] before() method is called on =20
org.springframework.aop.SimpleBeforeAdviceImpl
[junit] ------------- ---------------- ---------------
[junit] Testcase: =20
testAdvisorAdapterRegistrationManagerNotPresentInContext took 6.149 sec
[junit] Testcase: =20
testAdvisorAdapterRegistrationManagerPresentInContext took 0.448 sec
[junit] Running =20
org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.344 =20=
sec
[junit] Testsuite: =20
org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.344 =20=
sec
[junit] Testcase: testNoHandlerMethods took 0.808 sec
[junit] Testcase: testNotInvoked took 0.161 sec
[junit] Testcase: testNoHandlerMethodForThrowable took 0.002 sec
[junit] Testcase: testCorrectHandlerUsed took 0.004 sec
[junit] Testcase: testCorrectHandlerUsedForSubclass took 0.002 sec
[junit] Testcase: testHandlerMethodThrowsException took 0.002 sec
[junit] Running =20
org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.277 =20=
sec
[junit] Testsuite: =20
org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.277 =20=
sec
[junit] Testcase: testDefaultExclusionPrefix took 2.65 sec
[junit] Caused an ERROR
[junit] Error creating bean with name 'rollback' defined in class =20=
path resource =20
[org/springframework/aop/framework/autoproxy/=20
advisorAutoProxyCreator.xml]: Initialization of bean failed; nested =20
exception is org.aopalliance.aop.AspectException: null
[junit] org.springframework.beans.factory.BeanCreationException: =20=
Error creating bean with name 'rollback' defined in class path resource =20=
[org/springframework/aop/framework/autoproxy/=20
advisorAutoProxyCreator.xml]: Initialization of bean failed; nested =20
exception is org.aopalliance.aop.AspectException: null
[junit] java.lang.IllegalStateException: Callback =20
Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to =20
Lnet/sf/cglib/proxy/MethodInterceptor;
[junit] at =20
net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374)
[junit] at =20
net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399)
[junit] at =
net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318)
[junit] at =20
org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy=20=
.java:170)
[junit] at =20
org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy=20=
.java:135)
[junit] at =20
org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.jav=20=
a:63)
[junit] at =20
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.pos=20=
tProcessAfterInitialization(AbstractAutoProxyCreator.java:256)
[junit] at =20
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac=20=
tory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableB=20=
eanFactory.java:165)
[junit] at =20
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac=20=
tory.createBean(AbstractAutowireCapableBeanFactory.java:265)
[junit] at =20
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac=20=
tory.createBean(AbstractAutowireCapableBeanFactory.java:187)
[junit] at =20
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab=20=
stractBeanFactory.java:159)
[junit] at =20
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre=20=
InstantiateSingletons(DefaultListableBeanFactory.java:183)
[junit] at =20
org.springframework.context.support.AbstractApplicationContext.refresh(A=20=
bstractApplicationContext.java:279)
[junit] at =20
org.springframework.context.support.ClassPathXmlApplicationContext.<init=20=
>(ClassPathXmlApplicationContext.java:58)
[junit] at =20
org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests=20=
.getBeanFactory(AdvisorAutoProxyCreatorTests.java:52)
[junit] at =20
org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests=20=
.testDefaultExclusionPrefix(AdvisorAutoProxyCreatorTests.java:56)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native =20=
Method)
[junit] at =20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav=20=
a:39)
[junit] at =20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor=20=
Impl.java:25)
BUILD FAILED
file:/Users/jstrachan/cvs/spring/build.xml:479: Test =20
org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests=20=
failed
Total time: 53 seconds
James
-------
http://radio.weblogs.com/0112098/
|
|
From: Colin S. <col...@ex...> - 2004-06-24 13:14:27
|
Very weird. I had no problems last night running tests via ant, and no problem after a fresh update 30-45 min ago... jas...@ma... wrote: > > On 24 Jun 2004, at 13:47, jürgen höller [werk3AT] wrote: > >> Seems to be a classloading problem... maybe an incompatible CGLIB >> version somewhere else in the classpath? > > > BTW the failure when running the tests via Ant doesn't have anything > to do with Maven versions or CLASSPATHs AFAIK... (BTW the stuff in > lib/ext was put there by Apple, not me) > > > macstrac:~/cvs/spring jstrachan$ echo $CLASSPATH > > macstrac:~/cvs/spring jstrachan$ ls $JAVA_HOME/lib/ext > apple_provider.jar ldapsec.jar > localedata.jar sunjce_provider.jar > macstrac:~/cvs/spring jstrachan$ ant tests > Buildfile: build.xml > > compileattr: > [attribute-compiler] Generated attribute information for 0 classes. > Ignored 0 classes. > > build: > > buildmock: > > compiletestattr: > [attribute-compiler] Generated attribute information for 0 classes. > Ignored 1 classes. > > buildtests: > > tests: > [junit] Running > org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationTest > s > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.857 > sec > [junit] Testsuite: > org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationTest > s > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.857 > sec > [junit] ------------- Standard Output --------------- > [junit] before() method is called on > org.springframework.aop.SimpleBeforeAdviceImpl > [junit] ------------- ---------------- --------------- > > [junit] Testcase: > testAdvisorAdapterRegistrationManagerNotPresentInContext took 6.149 sec > [junit] Testcase: > testAdvisorAdapterRegistrationManagerPresentInContext took 0.448 sec > [junit] Running > org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests > [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.344 > sec > [junit] Testsuite: > org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests > [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.344 > sec > > [junit] Testcase: testNoHandlerMethods took 0.808 sec > [junit] Testcase: testNotInvoked took 0.161 sec > [junit] Testcase: testNoHandlerMethodForThrowable took 0.002 sec > [junit] Testcase: testCorrectHandlerUsed took 0.004 sec > [junit] Testcase: testCorrectHandlerUsedForSubclass took 0.002 sec > [junit] Testcase: testHandlerMethodThrowsException took 0.002 sec > [junit] Running > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.277 > sec > [junit] Testsuite: > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.277 > sec > > [junit] Testcase: testDefaultExclusionPrefix took 2.65 sec > [junit] Caused an ERROR > [junit] Error creating bean with name 'rollback' defined in class > path resource [org/springframework/aop/framework/autoproxy/ > advisorAutoProxyCreator.xml]: Initialization of bean failed; nested > exception is org.aopalliance.aop.AspectException: null > [junit] org.springframework.beans.factory.BeanCreationException: > Error creating bean with name 'rollback' defined in class path > resource [org/springframework/aop/framework/autoproxy/ > advisorAutoProxyCreator.xml]: Initialization of bean failed; nested > exception is org.aopalliance.aop.AspectException: null > [junit] java.lang.IllegalStateException: Callback > Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to > Lnet/sf/cglib/proxy/MethodInterceptor; > [junit] at > net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > [junit] at > net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > [junit] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > [junit] at > org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy > .java:170) > [junit] at > org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy > .java:135) > [junit] at > org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.jav > a:63) > [junit] at > org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.pos > tProcessAfterInitialization(AbstractAutoProxyCreator.java:256) > [junit] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableB > eanFactory.java:165) > [junit] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.createBean(AbstractAutowireCapableBeanFactory.java:265) > [junit] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.createBean(AbstractAutowireCapableBeanFactory.java:187) > [junit] at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab > stractBeanFactory.java:159) > [junit] at > org.springframework.beans.factory.support.DefaultListableBeanFactory.pre > InstantiateSingletons(DefaultListableBeanFactory.java:183) > [junit] at > org.springframework.context.support.AbstractApplicationContext.refresh(A > bstractApplicationContext.java:279) > [junit] at > org.springframework.context.support.ClassPathXmlApplicationContext.<init > >(ClassPathXmlApplicationContext.java:58) > [junit] at > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > .getBeanFactory(AdvisorAutoProxyCreatorTests.java:52) > [junit] at > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > .testDefaultExclusionPrefix(AdvisorAutoProxyCreatorTests.java:56) > [junit] at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [junit] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > [junit] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > > > BUILD FAILED > file:/Users/jstrachan/cvs/spring/build.xml:479: Test > org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests > failed > > Total time: 53 seconds > > > James > ------- > http://radio.weblogs.com/0112098/ > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: <jue...@we...> - 2004-06-24 13:00:46
|
I've recently renamed our CGLIB jar to cglib-2.0.2-dev.jar in CVS, to = stop the confusion. I guess the Maven script has not been adapted to = this. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Colin Sampaleanu Sent: Thursday, June 24, 2004 3:01 PM To: spr...@li... Subject: Re: [Springframework-developer] do unit tests fail in CVS HEAD for others? jas...@ma... wrote: > > On 24 Jun 2004, at 11:52, jas...@ma... wrote: > >> >> On 24 Jun 2004, at 11:21, Rod Johnson wrote: >> >>> Both Juergen and I ran all tests OK last night, after I did a >>> big checkin... They should pass at all times! >>> >>> Is there any more specific error information? >> >> >> I'm on the latest greatest OS X if that helps. JVM... >> >> java version "1.4.2_03" >> Java(TM) 2 Runtime Environment, Standard Edition (build = 1.4.2_03-117.1) >> Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode) >> >> Maven 1.0-RC1 >> >> I ran them via >> >> maven tests >> >> Am just doing a fresh checkout and trying again... Do folks run the=20 >> tests via Maven or Ant? > > > > FWIW here are some of the errors attached > >------------------------------------------------------------------------= > >Testsuite: org.springframework.aop.framework.CglibProxyTests >Tests run: 42, Failures: 2, Errors: 35, Time elapsed: 10.287 sec > >Testcase: testNullConfig took 1.687 sec >Testcase: testNoTarget took 0.153 sec >Testcase: testProxyCanBeClassNotInterface took 1.485 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback = Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to = Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at = org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.= java:170) > at = org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.= java:135) > at = org.springframework.aop.framework.CglibProxyTests.testProxyCanBeClassNotI= nterface(CglibProxyTests.java:94) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) > at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) > >Testcase: testProxyCanBeClassNotInterfaceTestcase: = testCGLIBProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClass = took 0.041 sec > FAILED >null >junit.framework.AssertionFailedError > at = org.springframework.aop.framework.CglibProxyTests.testCGLIBProxyingGivesM= eaningfulExceptionIfAskedToProxyNonvisibleClass(CglibProxyTests.java:118)= > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) > at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) > >Testcase: = testCGLIBProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClassTes= tcase:=20 > Ok, I know what this is. The cglib version is not correct. We had to=20 switch to a dev version of cglib to resolve some issues with cglib based = class proxy creation. The maven project file needs an override to use=20 cglib inside the lib dir istead of a stock cglib 2.0.1. I can probably make this change in about half an hour. In the meantime=20 James, you may want to do it locally. Colin ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20 digital self defense, top technical experts, no vendor pitches,=20 unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jas...@ma...> - 2004-06-24 10:52:42
|
On 24 Jun 2004, at 11:21, Rod Johnson wrote: > Both Juergen and I ran all tests OK last night, after I did a > big checkin... They should pass at all times! > > Is there any more specific error information? I'm on the latest greatest OS X if that helps. JVM... java version "1.4.2_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1) Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode) Maven 1.0-RC1 I ran them via maven tests Am just doing a fresh checkout and trying again... Do folks run the tests via Maven or Ant? James ------- http://radio.weblogs.com/0112098/ |
|
From: <jas...@ma...> - 2004-06-24 11:01:28
Attachments:
errors.txt
|
On 24 Jun 2004, at 11:52, jas...@ma... wrote: > > On 24 Jun 2004, at 11:21, Rod Johnson wrote: > >> Both Juergen and I ran all tests OK last night, after I did a >> big checkin... They should pass at all times! >> >> Is there any more specific error information? > > I'm on the latest greatest OS X if that helps. JVM... > > java version "1.4.2_03" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1) > Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode) > > Maven 1.0-RC1 > > I ran them via > > maven tests > > Am just doing a fresh checkout and trying again... Do folks run the > tests via Maven or Ant? FWIW here are some of the errors attached |
|
From: Colin S. <col...@ex...> - 2004-06-24 12:57:13
|
jas...@ma... wrote: > > On 24 Jun 2004, at 11:52, jas...@ma... wrote: > >> >> On 24 Jun 2004, at 11:21, Rod Johnson wrote: >> >>> Both Juergen and I ran all tests OK last night, after I did a >>> big checkin... They should pass at all times! >>> >>> Is there any more specific error information? >> >> >> I'm on the latest greatest OS X if that helps. JVM... >> >> java version "1.4.2_03" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1) >> Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode) >> >> Maven 1.0-RC1 >> >> I ran them via >> >> maven tests >> >> Am just doing a fresh checkout and trying again... Do folks run the >> tests via Maven or Ant? > > > > FWIW here are some of the errors attached > >------------------------------------------------------------------------ > >Testsuite: org.springframework.aop.framework.CglibProxyTests >Tests run: 42, Failures: 2, Errors: 35, Time elapsed: 10.287 sec > >Testcase: testNullConfig took 1.687 sec >Testcase: testNoTarget took 0.153 sec >Testcase: testProxyCanBeClassNotInterface took 1.485 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.testProxyCanBeClassNotInterface(CglibProxyTests.java:94) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testProxyCanBeClassNotInterfaceTestcase: testCGLIBProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClass took 0.041 sec > FAILED >null >junit.framework.AssertionFailedError > at org.springframework.aop.framework.CglibProxyTests.testCGLIBProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClass(CglibProxyTests.java:118) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCGLIBProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClassTestcase: > Ok, I know what this is. The cglib version is not correct. We had to switch to a dev version of cglib to resolve some issues with cglib based class proxy creation. The maven project file needs an override to use cglib inside the lib dir istead of a stock cglib 2.0.1. I can probably make this change in about half an hour. In the meantime James, you may want to do it locally. Colin |
|
From: <jas...@ma...> - 2004-06-24 13:00:44
|
On 24 Jun 2004, at 14:01, Colin Sampaleanu wrote: > Ok, I know what this is. The cglib version is not correct. We had to > switch to a dev version of cglib to resolve some issues with cglib > based class proxy creation. The maven project file needs an override > to use cglib inside the lib dir istead of a stock cglib 2.0.1. > > I can probably make this change in about half an hour. In the meantime > James, you may want to do it locally. Aha - great stuff thanks Colin. I'll try it again in a little while. James ------- http://radio.weblogs.com/0112098/ |
|
From: Colin S. <col...@ex...> - 2004-06-24 12:42:30
|
jas...@ma... wrote: > > On 24 Jun 2004, at 11:52, jas...@ma... wrote: > >> >> On 24 Jun 2004, at 11:21, Rod Johnson wrote: >> >>> Both Juergen and I ran all tests OK last night, after I did a >>> big checkin... They should pass at all times! >>> >>> Is there any more specific error information? >> >> >> I'm on the latest greatest OS X if that helps. JVM... >> >> java version "1.4.2_03" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1) >> Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode) >> >> Maven 1.0-RC1 >> >> I ran them via >> >> maven tests >> >> Am just doing a fresh checkout and trying again... Do folks run the >> tests via Maven or Ant? > > > > FWIW here are some of the errors attached > >------------------------------------------------------------------------ > >Testsuite: org.springframework.aop.framework.CglibProxyTests >Tests run: 42, Failures: 2, Errors: 35, Time elapsed: 10.287 sec > >Testcase: testNullConfig took 1.687 sec >Testcase: testNoTarget took 0.153 sec >Testcase: testProxyCanBeClassNotInterface took 1.485 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.testProxyCanBeClassNotInterface(CglibProxyTests.java:94) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testProxyCanBeClassNotInterfaceTestcase: testCGLIBProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClass took 0.041 sec > FAILED >null >junit.framework.AssertionFailedError > at org.springframework.aop.framework.CglibProxyTests.testCGLIBProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClass(CglibProxyTests.java:118) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCGLIBProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClassTestcase: testNoInterceptorsAndNoTarget took 0.091 sec >Testcase: testValuesStick took 0.006 sec >Testcase: testManyProxies took 0.017 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.AbstractAopProxyTests.testManyProxies(AbstractAopProxyTests.java:210) > at org.springframework.aop.framework.AbstractAopProxyTests.testManyProxies(AbstractAopProxyTests.java:188) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testManyProxiesTestcase: testSerializationAdviceAndTargetNotSerializable took 0.004 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.AbstractAopProxyTests.testSerializationAdviceAndTargetNotSerializable(AbstractAopProxyTests.java:222) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testSerializationAdviceAndTargetNotSerializableTestcase: testOneAdvisedObjectCallsAnother took 0.376 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testOneAdvisedObjectCallsAnother(AbstractAopProxyTests.java:260) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testOneAdvisedObjectCallsAnotherTestcase: testReentrance took 0.008 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testReentrance(AbstractAopProxyTests.java:282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testReentranceTestcase: testTargetCanGetProxy took 0.006 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testTargetCanGetProxy(AbstractAopProxyTests.java:343) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testTargetCanGetProxyTestcase: testTargetCantGetProxyByDefault took 0.005 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testTargetCantGetProxyByDefault(AbstractAopProxyTests.java:362) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testTargetCantGetProxyByDefaultTestcase: testContext took 0.006 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.AbstractAopProxyTests.testContext(AbstractAopProxyTests.java:410) > at org.springframework.aop.framework.AbstractAopProxyTests.testContext(AbstractAopProxyTests.java:374) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testContextTestcase: testNoContext took 0.017 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.AbstractAopProxyTests.testContext(AbstractAopProxyTests.java:410) > at org.springframework.aop.framework.AbstractAopProxyTests.testNoContext(AbstractAopProxyTests.java:378) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testNoContextTestcase: testTargetReturnsThis took 0.008 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testTargetReturnsThis(AbstractAopProxyTests.java:433) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testTargetReturnsThisTestcase: testDeclaredException took 0.035 sec > FAILED >exception matches expected:<java.lang.Exception> but was:<null> >junit.framework.AssertionFailedError: exception matches expected:<java.lang.Exception> but was:<null> > at org.springframework.aop.framework.AbstractAopProxyTests.testDeclaredException(AbstractAopProxyTests.java:488) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testDeclaredExceptionTestcase: testUndeclaredCheckedException took 0.005 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.AbstractAopProxyTests.testUndeclaredCheckedException(AbstractAopProxyTests.java:513) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testUndeclaredCheckedExceptionTestcase: testTargetCanGetInvocationEvenIfNoAdviceChain took 0.005 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.AbstractAopProxyTests.testTargetCanGetInvocationEvenIfNoAdviceChain(AbstractAopProxyTests.java:546) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testTargetCanGetInvocationEvenIfNoAdviceChainTestcase: testTargetCanGetInvocation took 0.009 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.AbstractAopProxyTests.testTargetCanGetInvocation(AbstractAopProxyTests.java:578) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testTargetCanGetInvocationTestcase: testMixin took 0.032 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testMixin(AbstractAopProxyTests.java:616) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testMixinTestcase: testReplaceArgument took 0.163 sec >Testcase: testCanCastProxyToProxyConfig took 0.004 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testCanCastProxyToProxyConfig(AbstractAopProxyTests.java:667) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCanCastProxyToProxyConfigTestcase: testCannotAddIntroductionInterceptorExceptInIntroductionAdvice took 0.003 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testCannotAddIntroductionInterceptorExceptInIntroductionAdvice(AbstractAopProxyTests.java:721) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCannotAddIntroductionInterceptorExceptInIntroductionAdviceTestcase: testCannotAddIntroductionAdviceWithUnimplementedInterface took 0.009 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testCannotAddIntroductionAdviceWithUnimplementedInterface(AbstractAopProxyTests.java:742) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCannotAddIntroductionAdviceWithUnimplementedInterfaceTestcase: testCannotAddIntroductionAdviceToIntroduceClass took 0.004 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testCannotAddIntroductionAdviceToIntroduceClass(AbstractAopProxyTests.java:762) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCannotAddIntroductionAdviceToIntroduceClassTestcase: testCannotAddInterceptorWhenFrozen took 0.004 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testCannotAddInterceptorWhenFrozen(AbstractAopProxyTests.java:772) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCannotAddInterceptorWhenFrozenTestcase: testCannotAddAdvisorWhenFrozenUsingCast took 0.004 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testCannotAddAdvisorWhenFrozenUsingCast(AbstractAopProxyTests.java:796) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCannotAddAdvisorWhenFrozenUsingCastTestcase: testCannotRemoveAdvisorWhenFrozen took 0.002 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testCannotRemoveAdvisorWhenFrozen(AbstractAopProxyTests.java:819) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testCannotRemoveAdvisorWhenFrozenTestcase: testUseAsHashKey took 0.003 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testUseAsHashKey(AbstractAopProxyTests.java:845) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testUseAsHashKeyTestcase: testAdviceSupportListeners took 0.009 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testAdviceSupportListeners(AbstractAopProxyTests.java:875) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testAdviceSupportListenersTestcase: testExistingProxyChangesTarget took 0.002 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testExistingProxyChangesTarget(AbstractAopProxyTests.java:911) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testExistingProxyChangesTargetTestcase: testDynamicMethodPointcutThatAlwaysAppliesStatically took 0.006 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testDynamicMethodPointcutThatAlwaysAppliesStatically(AbstractAopProxyTests.java:1002) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testDynamicMethodPointcutThatAlwaysAppliesStaticallyTestcase: testDynamicMethodPointcutThatAppliesStaticallyOnlyToSetters took 0.073 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor; > at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) > at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) > at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:135) > at org.springframework.aop.framework.CglibProxyTests.createProxy(CglibProxyTests.java:45) > at org.springframework.aop.framework.AbstractAopProxyTests.testDynamicMethodPointcutThatAppliesStaticallyOnlyToSetters(AbstractAopProxyTests.java:1019) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >Testcase: testDynamicMethodPointcutThatAppliesStaticallyOnlyToSettersTestcase: testStaticMethodPointcut took 0.013 sec > Caused an ERROR >null >java.lang.IllegalStateException: Callback ... [truncated message content] |
|
From: <jas...@ma...> - 2004-06-25 09:24:40
|
On 24 Jun 2004, at 13:46, Colin Sampaleanu wrote: > Ok, I know what this is. The cglib version is not correct. We had to > switch to a dev version of cglib to resolve some issues with cglib > based class proxy creation. The maven project file needs an override > to use cglib inside the lib dir istead of a stock cglib 2.0.1. > > I can probably make this change in about half an hour. In the meantime > James, you may want to do it locally. BTW thanks for the change Colin, the maven tests work perfectly for me now! I still get the previous Ant error when I try 'ant tests' but I'm not gonna worry about that, I'll stick to the maven build. Thanks again James ------- http://radio.weblogs.com/0112098/ |
|
From: Lee M. <lm...@ya...> - 2004-06-25 16:00:56
|
I updated to the current CVS yesterday and saw the same errors from 'ant tests'. For some reason the lib/cglib/cglib-2.0.1.jar was still there alongside the new cglib-2.0.2-dev.jar. Once I deleted the 2.0.1 jar everything worked fine with 'ant tests'. -Lee http://jroller.com/page/lmarlow -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of jas...@ma... Sent: Friday, June 25, 2004 3:24 AM To: spr...@li... Subject: Re: [Springframework-developer] do unit tests fail in CVS HEAD for others? On 24 Jun 2004, at 13:46, Colin Sampaleanu wrote: > Ok, I know what this is. The cglib version is not correct. We had to > switch to a dev version of cglib to resolve some issues with cglib > based class proxy creation. The maven project file needs an override > to use cglib inside the lib dir istead of a stock cglib 2.0.1. > > I can probably make this change in about half an hour. In the meantime > James, you may want to do it locally. BTW thanks for the change Colin, the maven tests work perfectly for me now! I still get the previous Ant error when I try 'ant tests' but I'm not gonna worry about that, I'll stick to the maven build. Thanks again James ------- http://radio.weblogs.com/0112098/ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Luke T. <ne...@fr...> - 2004-06-26 15:36:21
|
jas...@ma... wrote: > On 24 Jun 2004, at 13:46, Colin Sampaleanu wrote: > >> Ok, I know what this is. The cglib version is not correct. We had to >> switch to a dev version of cglib to resolve some issues with cglib >> based class proxy creation. The maven project file needs an override >> to use cglib inside the lib dir istead of a stock cglib 2.0.1. >> >> I can probably make this change in about half an hour. In the meantime >> James, you may want to do it locally. > > > BTW thanks for the change Colin, the maven tests work perfectly for me now! > Do all the tests work OK for you? I've been aware that the commons attributes tests have been failing for some time with Maven: http://monkeymachine.co.uk/spring/junit-report.html#CommonsAttributesMetadataAutoProxyTests If anyone can suggest a possible cause, I'd like to be able to get the build running without any errors. Thanks, Luke. -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk |