I have some integration tests that use the tapestry-test module. The tests run just fine when i execute mvn test but when i execute the cobertura report the tests fail with the following error:

[ERROR] TapestryIOCModule.MasterObjectProvider Construction of service MasterObjectProvider failed: Error invoking constructor org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl(List) (at MasterObjectProviderImpl.java:29) (for service 'MasterObjectProvider'): Error invoking service contribution method org.apache.tapestry5.services.TapestryModule.contributeMasterObjectProvider(Orde redConfiguration, Alias, ObjectProvider): Exception constructing service 'MasterObjectProvider': Construction of service 'MasterObjectProvider' has failed due to recursion: the service depends on itse lf in some way. Please check org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl(List) (at MasterObjectProviderImpl.java:29) for references to another service that is itself dependent
on service 'MasterObjectProvider'.
java.lang.RuntimeException: Error invoking constructor org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl(List) (at MasterObjectProviderImpl.java:29) (for service 'MasterObjectProvide r'): Error invoking service contribution method org.apache.tapestry5.services.TapestryModule.contributeMasterObjectProvider(OrderedConfiguration, Alias, ObjectProvider): Exception constructing service 'MasterObjectProvider': Construction of service 'MasterObjectProvider' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry5.ioc.internal.services. MasterObjectProviderImpl(List) (at MasterObjectProviderImpl.java:29) for references to another service that is itself dependent on service 'MasterObjectProvider'. at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:63) at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:52) at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60) at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65) at $MasterObjectProvider_11cc2c28842._delegate($MasterObjectProvider_11cc2c28842.java) at $MasterObjectProvider_11cc2c28842.provide($MasterObjectProvider_11cc2c28842.java) at org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:622) at org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:676) at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:49)
.............

Than it says that the setup and cleanup tests failed when those aren't even tests but methods of the base class provided by tapestry-test.
Any ideas ?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to