[T5] Exception when using Tapestry5-Acegi 1.1.1-SNAPSHOT

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[T5] Exception when using Tapestry5-Acegi 1.1.1-SNAPSHOT

Thiago H. de Paula Figueiredo-2
Hi!

When using Tapestry5-Acegi 1.1.1-SNAPSHOT (the only version supporting  
T5.0.13), an exception (stack trace later in this message) is thrown.
Does anyone know how to solve this issue?
Thanks in advance.
Thiago

java.lang.RuntimeException: Exception constructing service  
'ServletApplicationInitializer': Unable to instantiate class  
org.apache.tapestry5.services.TapestryModule as a module builder:  
Exception constructing service 'Alias': Error invoking service builder  
method org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) (for service  
'Alias'): Error invoking service contribution method  
nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSourceService,  
AuthenticationProcessingFilter, Configuration): Error building service  
proxy for service 'RealAuthenticationProcessingFilter' (at  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)):  
Error invoking service builder method  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)  
(for service 'RealAuthenticationProcessingFilter'): Exception constructing  
service 'ApplicationDefaults': Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:75)
        at  
$ServletApplicationInitializer_11b00dc7765._delegate($ServletApplicationInitializer_11b00dc7765.java)
        at  
$ServletApplicationInitializer_11b00dc7765.initializeApplication($ServletApplicationInitializer_11b00dc7765.java)
        at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:85)
        at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
        at  
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310)
        at  
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)
        at org.mortbay.util.Container.start(Container.java:72)
        at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
        at org.mortbay.util.Container.start(Container.java:72)
        at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
        at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
        at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
Caused by: java.lang.RuntimeException: Unable to instantiate class  
org.apache.tapestry5.services.TapestryModule as a module builder:  
Exception constructing service 'Alias': Error invoking service builder  
method org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) (for service  
'Alias'): Error invoking service contribution method  
nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSourceService,  
AuthenticationProcessingFilter, Configuration): Error building service  
proxy for service 'RealAuthenticationProcessingFilter' (at  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)):  
Error invoking service builder method  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)  
(for service 'RealAuthenticationProcessingFilter'): Exception constructing  
service 'ApplicationDefaults': Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:325)
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
        at  
org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
        at  
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
        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.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
        at  
org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
        at  
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
        ... 12 more
Caused by: java.lang.RuntimeException: Exception constructing service  
'Alias': Error invoking service builder method  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) (for service  
'Alias'): Error invoking service contribution method  
nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSourceService,  
AuthenticationProcessingFilter, Configuration): Error building service  
proxy for service 'RealAuthenticationProcessingFilter' (at  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)):  
Error invoking service builder method  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)  
(for service 'RealAuthenticationProcessingFilter'): Exception constructing  
service 'ApplicationDefaults': Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:75)
        at $Alias_11b00dc7769._delegate($Alias_11b00dc7769.java)
        at $Alias_11b00dc7769.getObjectProvider($Alias_11b00dc7769.java)
        at  
org.apache.tapestry5.services.TapestryModule$1.provide(TapestryModule.java:532)
        at  
org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:38)
        at  
$MasterObjectProvider_11b00dc7766.provide($MasterObjectProvider_11b00dc7766.java)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:627)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:681)
        at  
org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:49)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameterValue(InternalUtils.java:209)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239)
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:306)
        ... 20 more
Caused by: java.lang.RuntimeException: Error invoking service builder  
method org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) (for service  
'Alias'): Error invoking service contribution method  
nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSourceService,  
AuthenticationProcessingFilter, Configuration): Error building service  
proxy for service 'RealAuthenticationProcessingFilter' (at  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)):  
Error invoking service builder method  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)  
(for service 'RealAuthenticationProcessingFilter'): Exception constructing  
service 'ApplicationDefaults': Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:87)
        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.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
        at  
org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
        at  
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
        ... 31 more
Caused by: java.lang.RuntimeException: Error invoking service contribution  
method  
nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSourceService,  
AuthenticationProcessingFilter, Configuration): Error building service  
proxy for service 'RealAuthenticationProcessingFilter' (at  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)):  
Error invoking service builder method  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)  
(for service 'RealAuthenticationProcessingFilter'): Exception constructing  
service 'ApplicationDefaults': Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:107)
        at  
org.apache.tapestry5.ioc.internal.ContributionDefImpl.contribute(ContributionDefImpl.java:56)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.addToUnorderedConfiguration(RegistryImpl.java:483)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getUnorderedConfiguration(RegistryImpl.java:353)
        at  
org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getUnorderedConfiguration(ServiceResourcesImpl.java:72)
        at  
org.apache.tapestry5.ioc.internal.AbstractServiceCreator.addUnorderedConfigurationParameter(AbstractServiceCreator.java:140)
        at  
org.apache.tapestry5.ioc.internal.AbstractServiceCreator.getParameterDefaultsWithConfiguration(AbstractServiceCreator.java:106)
        at  
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.getParameterDefaultsWithConfigurations(ServiceBuilderMethodInvoker.java:46)
        at  
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:67)
        ... 36 more
Caused by: java.lang.RuntimeException: Error building service proxy for  
service 'RealAuthenticationProcessingFilter' (at  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)):  
Error invoking service builder method  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)  
(for service 'RealAuthenticationProcessingFilter'): Exception constructing  
service 'ApplicationDefaults': Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.create(ModuleImpl.java:245)
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.findOrCreate(ModuleImpl.java:163)
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.getService(ModuleImpl.java:91)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.java:299)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.findServiceByMarkerAndType(RegistryImpl.java:653)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:620)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:681)
        at  
org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:49)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameterValue(InternalUtils.java:209)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersForMethod(InternalUtils.java:218)
        at  
org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:90)
        ... 44 more
Caused by: java.lang.RuntimeException: Error invoking service builder  
method  
nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticationProcessingFilter(AuthenticationManager,  
RememberMeServices, String, String, String) (at SecurityModule.java:178)  
(for service 'RealAuthenticationProcessingFilter'): Exception constructing  
service 'ApplicationDefaults': Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:87)
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.create(ModuleImpl.java:212)
        ... 55 more
Caused by: java.lang.RuntimeException: Exception constructing service  
'ApplicationDefaults': Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:75)
        at $SymbolProvider_11b00dc776f._delegate($SymbolProvider_11b00dc776f.java)
        at  
$SymbolProvider_11b00dc776f.valueForSymbol($SymbolProvider_11b00dc776f.java)
        at  
org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl$SymbolExpansion.expandSymbol(SymbolSourceImpl.java:123)
        at  
org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl$SymbolExpansion.valueForSymbol(SymbolSourceImpl.java:99)
        at  
org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl$SymbolExpansion.expandSymbols(SymbolSourceImpl.java:83)
        at  
org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl.expandSymbols(SymbolSourceImpl.java:204)
        at $SymbolSource_11b00dc7767.expandSymbols($SymbolSource_11b00dc7767.java)
        at  
org.apache.tapestry5.ioc.internal.services.ValueObjectProvider.provide(ValueObjectProvider.java:52)
        at  
org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:38)
        at  
$MasterObjectProvider_11b00dc7766.provide($MasterObjectProvider_11b00dc7766.java)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:627)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:681)
        at  
org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:49)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameterValue(InternalUtils.java:209)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersForMethod(InternalUtils.java:218)
        at  
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:67)
        ... 56 more
Caused by: java.lang.RuntimeException: Error invoking constructor  
org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at  
MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to  
instantiate class net.sf.arsmachina.example.web.services.AppModule as a  
module builder: Exception constructing service 'Alias': Construction of  
service 'Alias' has failed due to recursion: the service depends on itself  
in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        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)
        ... 73 more
Caused by: java.lang.RuntimeException: Unable to instantiate class  
net.sf.arsmachina.example.web.services.AppModule as a module builder:  
Exception constructing service 'Alias': Construction of service 'Alias'  
has failed due to recursion: the service depends on itself in some way.  
Please check org.apache.tapestry5.services.TapestryModule.build(Logger,  
String, AliasManager, Collection) (at TapestryModule.java:208) for  
references to another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:325)
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
        at  
org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:85)
        at  
org.apache.tapestry5.ioc.internal.ContributionDefImpl.contribute(ContributionDefImpl.java:68)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.addToMappedConfiguration(RegistryImpl.java:457)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getMappedConfiguration(RegistryImpl.java:414)
        at  
org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getMappedConfiguration(ServiceResourcesImpl.java:96)
        at  
org.apache.tapestry5.ioc.internal.AbstractServiceCreator.addMappedConfigurationParameter(AbstractServiceCreator.java:154)
        at  
org.apache.tapestry5.ioc.internal.AbstractServiceCreator.getParameterDefaultsWithConfiguration(AbstractServiceCreator.java:118)
        at  
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.getParameterDefaultsWithConfigurations(ConstructorServiceCreator.java:72)
        at  
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:47)
        ... 77 more
Caused by: java.lang.RuntimeException: Exception constructing service  
'Alias': Construction of service 'Alias' has failed due to recursion: the  
service depends on itself in some way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:75)
        at $Alias_11b00dc7769._delegate($Alias_11b00dc7769.java)
        at $Alias_11b00dc7769.getObjectProvider($Alias_11b00dc7769.java)
        at  
org.apache.tapestry5.services.TapestryModule$1.provide(TapestryModule.java:532)
        at  
org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:38)
        at  
$MasterObjectProvider_11b00dc7766.provide($MasterObjectProvider_11b00dc7766.java)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:627)
        at  
org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:681)
        at  
org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:49)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameterValue(InternalUtils.java:209)
        at  
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239)
        at  
org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:306)
        ... 87 more
Caused by: java.lang.IllegalStateException: Construction of service  
'Alias' has failed due to recursion: the service depends on itself in some  
way. Please check  
org.apache.tapestry5.services.TapestryModule.build(Logger, String,  
AliasManager, Collection) (at TapestryModule.java:208) for references to  
another service that is itself dependent on service 'Alias'.
        at  
org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:52)
        at  
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
        ... 98 more


--
Usando o revolucion├írio cliente de correio do Opera:  
http://www.opera.com/mail/

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: [T5] Exception when using Tapestry5-Acegi 1.1.1-SNAPSHOT

Jonathan Barker

If your code was working prior to upgrade, make sure that you don't have any
duplicate jar's in your classpath.

It's now the first thing I check after upgrading any library.  There's
always something wrong.

Jonathan


> -----Original Message-----
> From: Thiago H. de Paula Figueiredo [mailto:[hidden email]]
> Sent: Tuesday, July 08, 2008 00:18
> To: Tapestry users
> Subject: [T5] Exception when using Tapestry5-Acegi 1.1.1-SNAPSHOT
>
> Hi!
>
> When using Tapestry5-Acegi 1.1.1-SNAPSHOT (the only version supporting
> T5.0.13), an exception (stack trace later in this message) is thrown.
> Does anyone know how to solve this issue?
> Thanks in advance.
> Thiago
>
> java.lang.RuntimeException: Exception constructing service
> 'ServletApplicationInitializer': Unable to instantiate class
> org.apache.tapestry5.services.TapestryModule as a module builder:
> Exception constructing service 'Alias': Error invoking service builder
> method org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) (for service
> 'Alias'): Error invoking service contribution method
> nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSo
> urceService,
> AuthenticationProcessingFilter, Configuration): Error building service
> proxy for service 'RealAuthenticationProcessingFilter' (at
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)):
> Error invoking service builder method
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)
> (for service 'RealAuthenticationProcessingFilter'): Exception constructing
> service 'ApplicationDefaults': Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createO
> bject(JustInTimeObjectCreator.java:75)
> at
> $ServletApplicationInitializer_11b00dc7765._delegate($ServletApplicationIn
> itializer_11b00dc7765.java)
> at
> $ServletApplicationInitializer_11b00dc7765.initializeApplication($ServletA
> pplicationInitializer_11b00dc7765.java)
> at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:85)
> at
> org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebAppl
> icationHandler.java:310)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationCont
> ext.java:509)
> at org.mortbay.util.Container.start(Container.java:72)
> at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
> at org.mortbay.util.Container.start(Container.java:72)
> at
> com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
> at
> com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
> at
> com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
> Caused by: java.lang.RuntimeException: Unable to instantiate class
> org.apache.tapestry5.services.TapestryModule as a module builder:
> Exception constructing service 'Alias': Error invoking service builder
> method org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) (for service
> 'Alias'): Error invoking service contribution method
> nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSo
> urceService,
> AuthenticationProcessingFilter, Configuration): Error building service
> proxy for service 'RealAuthenticationProcessingFilter' (at
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)):
> Error invoking service builder method
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)
> (for service 'RealAuthenticationProcessingFilter'): Exception constructing
> service 'ApplicationDefaults': Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(Modu
> leImpl.java:325)
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.j
> ava:253)
> at
> org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(Se
> rviceResourcesImpl.java:105)
> at
> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject
> (ServiceBuilderMethodInvoker.java:59)
> at
> org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(
> SingletonServiceLifecycle.java:29)
> at
> org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObj
> ect(LifecycleWrappedServiceCreator.java:52)
> at
> org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(Int
> erceptorStackBuilder.java:50)
> at
> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.cre
> ateObject(RecursiveServiceCreationCheckWrapper.java:60)
> at
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createO
> bject(JustInTimeObjectCreator.java:65)
> ... 12 more
> Caused by: java.lang.RuntimeException: Exception constructing service
> 'Alias': Error invoking service builder method
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) (for service
> 'Alias'): Error invoking service contribution method
> nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSo
> urceService,
> AuthenticationProcessingFilter, Configuration): Error building service
> proxy for service 'RealAuthenticationProcessingFilter' (at
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)):
> Error invoking service builder method
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)
> (for service 'RealAuthenticationProcessingFilter'): Exception constructing
> service 'ApplicationDefaults': Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createO
> bject(JustInTimeObjectCreator.java:75)
> at $Alias_11b00dc7769._delegate($Alias_11b00dc7769.java)
> at $Alias_11b00dc7769.getObjectProvider($Alias_11b00dc7769.java)
> at
> org.apache.tapestry5.services.TapestryModule$1.provide(TapestryModule.java
> :532)
> at
> org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provid
> e(MasterObjectProviderImpl.java:38)
> at
> $MasterObjectProvider_11b00dc7766.provide($MasterObjectProvider_11b00dc776
> 6.java)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java
> :627)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java
> :681)
> at
> org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocato
> rImpl.java:49)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameterVal
> ue(InternalUtils.java:209)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(I
> nternalUtils.java:239)
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(Modu
> leImpl.java:306)
> ... 20 more
> Caused by: java.lang.RuntimeException: Error invoking service builder
> method org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) (for service
> 'Alias'): Error invoking service contribution method
> nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSo
> urceService,
> AuthenticationProcessingFilter, Configuration): Error building service
> proxy for service 'RealAuthenticationProcessingFilter' (at
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)):
> Error invoking service builder method
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)
> (for service 'RealAuthenticationProcessingFilter'): Exception constructing
> service 'ApplicationDefaults': Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject
> (ServiceBuilderMethodInvoker.java:87)
> at
> org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(
> SingletonServiceLifecycle.java:29)
> at
> org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObj
> ect(LifecycleWrappedServiceCreator.java:52)
> at
> org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(Int
> erceptorStackBuilder.java:50)
> at
> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.cre
> ateObject(RecursiveServiceCreationCheckWrapper.java:60)
> at
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createO
> bject(JustInTimeObjectCreator.java:65)
> ... 31 more
> Caused by: java.lang.RuntimeException: Error invoking service contribution
> method
> nu.localhost.tapestry.acegi.services.SecurityModule.contributeAlias(SaltSo
> urceService,
> AuthenticationProcessingFilter, Configuration): Error building service
> proxy for service 'RealAuthenticationProcessingFilter' (at
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)):
> Error invoking service builder method
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)
> (for service 'RealAuthenticationProcessingFilter'): Exception constructing
> service 'ApplicationDefaults': Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(Contrib
> utionDefImpl.java:107)
> at
> org.apache.tapestry5.ioc.internal.ContributionDefImpl.contribute(Contribut
> ionDefImpl.java:56)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.addToUnorderedConfiguration
> (RegistryImpl.java:483)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getUnorderedConfiguration(R
> egistryImpl.java:353)
> at
> org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getUnorderedConfigu
> ration(ServiceResourcesImpl.java:72)
> at
> org.apache.tapestry5.ioc.internal.AbstractServiceCreator.addUnorderedConfi
> gurationParameter(AbstractServiceCreator.java:140)
> at
> org.apache.tapestry5.ioc.internal.AbstractServiceCreator.getParameterDefau
> ltsWithConfiguration(AbstractServiceCreator.java:106)
> at
> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.getParameter
> DefaultsWithConfigurations(ServiceBuilderMethodInvoker.java:46)
> at
> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject
> (ServiceBuilderMethodInvoker.java:67)
> ... 36 more
> Caused by: java.lang.RuntimeException: Error building service proxy for
> service 'RealAuthenticationProcessingFilter' (at
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)):
> Error invoking service builder method
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)
> (for service 'RealAuthenticationProcessingFilter'): Exception constructing
> service 'ApplicationDefaults': Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.create(ModuleImpl.java:245)
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.findOrCreate(ModuleImpl.java:
> 163)
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.getService(ModuleImpl.java:91
> )
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.jav
> a:299)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.findServiceByMarkerAndType(
> RegistryImpl.java:653)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java
> :620)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java
> :681)
> at
> org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocato
> rImpl.java:49)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameterVal
> ue(InternalUtils.java:209)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(I
> nternalUtils.java:239)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersFo
> rMethod(InternalUtils.java:218)
> at
> org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(Contrib
> utionDefImpl.java:90)
> ... 44 more
> Caused by: java.lang.RuntimeException: Error invoking service builder
> method
> nu.localhost.tapestry.acegi.services.SecurityModule.buildRealAuthenticatio
> nProcessingFilter(AuthenticationManager,
> RememberMeServices, String, String, String) (at SecurityModule.java:178)
> (for service 'RealAuthenticationProcessingFilter'): Exception constructing
> service 'ApplicationDefaults': Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject
> (ServiceBuilderMethodInvoker.java:87)
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.create(ModuleImpl.java:212)
> ... 55 more
> Caused by: java.lang.RuntimeException: Exception constructing service
> 'ApplicationDefaults': Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createO
> bject(JustInTimeObjectCreator.java:75)
> at
> $SymbolProvider_11b00dc776f._delegate($SymbolProvider_11b00dc776f.java)
> at
> $SymbolProvider_11b00dc776f.valueForSymbol($SymbolProvider_11b00dc776f.jav
> a)
> at
> org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl$SymbolExpansio
> n.expandSymbol(SymbolSourceImpl.java:123)
> at
> org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl$SymbolExpansio
> n.valueForSymbol(SymbolSourceImpl.java:99)
> at
> org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl$SymbolExpansio
> n.expandSymbols(SymbolSourceImpl.java:83)
> at
> org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl.expandSymbols(
> SymbolSourceImpl.java:204)
> at
> $SymbolSource_11b00dc7767.expandSymbols($SymbolSource_11b00dc7767.java)
> at
> org.apache.tapestry5.ioc.internal.services.ValueObjectProvider.provide(Val
> ueObjectProvider.java:52)
> at
> org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provid
> e(MasterObjectProviderImpl.java:38)
> at
> $MasterObjectProvider_11b00dc7766.provide($MasterObjectProvider_11b00dc776
> 6.java)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java
> :627)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java
> :681)
> at
> org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocato
> rImpl.java:49)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameterVal
> ue(InternalUtils.java:209)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(I
> nternalUtils.java:239)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersFo
> rMethod(InternalUtils.java:218)
> at
> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject
> (ServiceBuilderMethodInvoker.java:67)
> ... 56 more
> Caused by: java.lang.RuntimeException: Error invoking constructor
> org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at
> MapSymbolProvider.java:30) (for service 'ApplicationDefaults'): Unable to
> instantiate class net.sf.arsmachina.example.web.services.AppModule as a
> module builder: Exception constructing service 'Alias': Construction of
> service 'Alias' has failed due to recursion: the service depends on itself
> in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(C
> onstructorServiceCreator.java:63)
> at
> org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(
> SingletonServiceLifecycle.java:29)
> at
> org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObj
> ect(LifecycleWrappedServiceCreator.java:52)
> at
> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.cre
> ateObject(RecursiveServiceCreationCheckWrapper.java:60)
> at
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createO
> bject(JustInTimeObjectCreator.java:65)
> ... 73 more
> Caused by: java.lang.RuntimeException: Unable to instantiate class
> net.sf.arsmachina.example.web.services.AppModule as a module builder:
> Exception constructing service 'Alias': Construction of service 'Alias'
> has failed due to recursion: the service depends on itself in some way.
> Please check org.apache.tapestry5.services.TapestryModule.build(Logger,
> String, AliasManager, Collection) (at TapestryModule.java:208) for
> references to another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(Modu
> leImpl.java:325)
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.j
> ava:253)
> at
> org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(Contrib
> utionDefImpl.java:85)
> at
> org.apache.tapestry5.ioc.internal.ContributionDefImpl.contribute(Contribut
> ionDefImpl.java:68)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.addToMappedConfiguration(Re
> gistryImpl.java:457)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getMappedConfiguration(Regi
> stryImpl.java:414)
> at
> org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getMappedConfigurat
> ion(ServiceResourcesImpl.java:96)
> at
> org.apache.tapestry5.ioc.internal.AbstractServiceCreator.addMappedConfigur
> ationParameter(AbstractServiceCreator.java:154)
> at
> org.apache.tapestry5.ioc.internal.AbstractServiceCreator.getParameterDefau
> ltsWithConfiguration(AbstractServiceCreator.java:118)
> at
> org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.getParameterDe
> faultsWithConfigurations(ConstructorServiceCreator.java:72)
> at
> org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(C
> onstructorServiceCreator.java:47)
> ... 77 more
> Caused by: java.lang.RuntimeException: Exception constructing service
> 'Alias': Construction of service 'Alias' has failed due to recursion: the
> service depends on itself in some way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createO
> bject(JustInTimeObjectCreator.java:75)
> at $Alias_11b00dc7769._delegate($Alias_11b00dc7769.java)
> at $Alias_11b00dc7769.getObjectProvider($Alias_11b00dc7769.java)
> at
> org.apache.tapestry5.services.TapestryModule$1.provide(TapestryModule.java
> :532)
> at
> org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provid
> e(MasterObjectProviderImpl.java:38)
> at
> $MasterObjectProvider_11b00dc7766.provide($MasterObjectProvider_11b00dc776
> 6.java)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java
> :627)
> at
> org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java
> :681)
> at
> org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocato
> rImpl.java:49)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameterVal
> ue(InternalUtils.java:209)
> at
> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(I
> nternalUtils.java:239)
> at
> org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(Modu
> leImpl.java:306)
> ... 87 more
> Caused by: java.lang.IllegalStateException: Construction of service
> 'Alias' has failed due to recursion: the service depends on itself in some
> way. Please check
> org.apache.tapestry5.services.TapestryModule.build(Logger, String,
> AliasManager, Collection) (at TapestryModule.java:208) for references to
> another service that is itself dependent on service 'Alias'.
> at
> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.cre
> ateObject(RecursiveServiceCreationCheckWrapper.java:52)
> at
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createO
> bject(JustInTimeObjectCreator.java:65)
> ... 98 more
>
>
> --
> Usando o revolucionário cliente de correio do Opera:
> http://www.opera.com/mail/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]