Tapestry 5.1 is really good about tracking what it was doing when one
of these exceptions occur. Check the console, as Sven pointed out.

On Thu, May 14, 2009 at 4:20 AM, Sven Homburg <hombu...@googlemail.com> wrote:
> have a look at your console output.
> may be there ist another exception in front of the shown exception
> with regards
> Sven Homburg
> Founder of the Chenille Kit Project
> http://www.chenillekit.org
>
>
>
>
> 2009/5/13 Christine <christ...@christine.nl>
>
>>  After upgrading to 5.1, I get the error below. Apparently, there's an
>> error in my app but when Tapestry wants to complain about the error,
>> something goes wrong, or that's what it looks like to me. I have checked
>> that the app still works with 5.0.
>>
>> dagdag
>> Christine
>>
>>
>>  HTTP ERROR: 500
>>
>> Exception assembling root component of page core/ExceptionReport: Could not 
>> convert 'productionMode' into a component parameter binding: Exception 
>> constructing service 'PropertyConduitSource': Construction of service 
>> 'PropertyConduitSource' has failed due to recursion: the service depends on 
>> itself in some way. Please check 
>> org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl,
>>  InvalidationEventHub) (at TapestryModule.java:1341) for references to 
>> another service that is itself dependent on service 'PropertyConduitSource'.
>>
>> RequestURI=/show/v440njzm
>> Caused by:
>>
>> java.lang.RuntimeException: Exception assembling root component of page 
>> core/ExceptionReport: Could not convert 'productionMode' into a component 
>> parameter binding: Exception constructing service 'PropertyConduitSource': 
>> Construction of service 'PropertyConduitSource' has failed due to recursion: 
>> the service depends on itself in some way. Please check 
>> org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl,
>>  InvalidationEventHub) (at TapestryModule.java:1341) for references to 
>> another service that is itself dependent on service 'PropertyConduitSource'.
>>       at 
>> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.assembleRootComponent(ComponentAssemblerImpl.java:110)
>>       at 
>> org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:159)
>>       at $PageLoader_1213948b5d9.loadPage($PageLoader_1213948b5d9.java)
>>       at 
>> org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
>>       at 
>> org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99)
>>       at $PagePool_1213948b5d8.checkout($PagePool_1213948b5d8.java)
>>       at 
>> org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51)
>>       at 
>> $RequestPageCache_1213948b5d7.get($RequestPageCache_1213948b5d7.java)
>>       at 
>> $RequestPageCache_1213948b5d0.get($RequestPageCache_1213948b5d0.java)
>>       at 
>> org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69)
>>       at 
>> $RequestExceptionHandler_1213948b5ba.handleRequestException($RequestExceptionHandler_1213948b5ba.java)
>>       at 
>> org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
>>       at 
>> $RequestHandler_1213948b5bc.service($RequestHandler_1213948b5bc.java)
>>       at 
>> org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:778)
>>       at 
>> $RequestHandler_1213948b5bc.service($RequestHandler_1213948b5bc.java)
>>       at 
>> org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:767)
>>       at 
>> $RequestHandler_1213948b5bc.service($RequestHandler_1213948b5bc.java)
>>       at 
>> org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
>>       at 
>> $RequestHandler_1213948b5bc.service($RequestHandler_1213948b5bc.java)
>>       at 
>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
>>       at 
>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81)
>>       at 
>> org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
>>       at 
>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
>>       at 
>> $RequestHandler_1213948b5bc.service($RequestHandler_1213948b5bc.java)
>>       at 
>> $RequestHandler_1213948b5b2.service($RequestHandler_1213948b5b2.java)
>>       at 
>> org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:197)
>>       at 
>> org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
>>       at 
>> $HttpServletRequestHandler_1213948b5b4.service($HttpServletRequestHandler_1213948b5b4.java)
>>       at 
>> org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
>>       at 
>> $HttpServletRequestFilter_1213948b5b1.service($HttpServletRequestFilter_1213948b5b1.java)
>>       at 
>> $HttpServletRequestHandler_1213948b5b4.service($HttpServletRequestHandler_1213948b5b4.java)
>>       at 
>> org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:726)
>>       at 
>> $HttpServletRequestHandler_1213948b5b4.service($HttpServletRequestHandler_1213948b5b4.java)
>>       at 
>> $HttpServletRequestHandler_1213948b5af.service($HttpServletRequestHandler_1213948b5af.java)
>>       at 
>> org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
>>       at 
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>       at 
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
>>       at 
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>       at 
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>       at 
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
>>       at 
>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>       at 
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>       at org.mortbay.jetty.Server.handle(Server.java:320)
>>       at 
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>>       at 
>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
>>       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
>>       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>>       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>>       at 
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>       at 
>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
>> Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Could 
>> not convert 'productionMode' into a component parameter binding: Exception 
>> constructing service 'PropertyConduitSource': Construction of service 
>> 'PropertyConduitSource' has failed due to recursion: the service depends on 
>> itself in some way. Please check 
>> org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl,
>>  InvalidationEventHub) (at TapestryModule.java:1341) for references to 
>> another service that is itself dependent on service 'PropertyConduitSource'. 
>> [at classpath:org/apache/tapestry5/corelib/pages/ExceptionReport.tml, line 8]
>>       at 
>> org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:85)
>>       at 
>> $BindingSource_1213948b5f2.newBinding($BindingSource_1213948b5f2.java)
>>       at 
>> org.apache.tapestry5.internal.services.PageElementFactoryImpl.newBinding(PageElementFactoryImpl.java:184)
>>       at 
>> $PageElementFactory_1213948b5e9.newBinding($PageElementFactory_1213948b5e9.java)
>>       at 
>> org.apache.tapestry5.internal.pageload.PageLoaderImpl$10.execute(PageLoaderImpl.java:868)
>>       at 
>> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.runActions(ComponentAssemblerImpl.java:202)
>>       at 
>> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.assembleRootComponent(ComponentAssemblerImpl.java:88)
>>       ... 49 more
>> Caused by: java.lang.RuntimeException: Exception constructing service 
>> 'PropertyConduitSource': Construction of service 'PropertyConduitSource' has 
>> failed due to recursion: the service depends on itself in some way. Please 
>> check 
>> org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl,
>>  InvalidationEventHub) (at TapestryModule.java:1341) for references to 
>> another service that is itself dependent on service 'PropertyConduitSource'.
>>       at 
>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78)
>>       at 
>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57)
>>       at 
>> $PropertyConduitSource_1213948b603.delegate($PropertyConduitSource_1213948b603.java)
>>       at 
>> $PropertyConduitSource_1213948b603.create($PropertyConduitSource_1213948b603.java)
>>       at 
>> org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:49)
>>       at 
>> $BindingFactory_1213948b604.newBinding($BindingFactory_1213948b604.java)
>>       at 
>> $BindingFactory_1213948b5fc.newBinding($BindingFactory_1213948b5fc.java)
>>       at 
>> org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:81)
>>       ... 55 more
>> Caused by: org.apache.tapestry5.ioc.internal.OperationException: 
>> Construction of service 'PropertyConduitSource' has failed due to recursion: 
>> the service depends on itself in some way. Please check 
>> org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl,
>>  InvalidationEventHub) (at TapestryModule.java:1341) for references to 
>> another service that is itself dependent on service 'PropertyConduitSource'.
>>       at 
>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
>>       at 
>> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
>>       at 
>> org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
>>       at 
>> org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
>>       at 
>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68)
>>       ... 62 more
>> Caused by: java.lang.IllegalStateException: Construction of service 
>> 'PropertyConduitSource' has failed due to recursion: the service depends on 
>> itself in some way. Please check 
>> org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl,
>>  InvalidationEventHub) (at TapestryModule.java:1341) for references to 
>> another service that is itself dependent on service 'PropertyConduitSource'.
>>       at 
>> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:52)
>>       at 
>> org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
>>       at 
>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)
>>       ... 66 more
>>
>>
>>
>> --
>> dagdag is just a two-character rotation of byebye.
>>
>>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to