[ https://issues.apache.org/jira/browse/TAP5-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade updated TAP5-1772: --------------------------------- Attachment: 0001-TAP5-1772-add-test.patch I created a test case. > IOC Circular dependency results in StackOverflowError > ----------------------------------------------------- > > Key: TAP5-1772 > URL: https://issues.apache.org/jira/browse/TAP5-1772 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-ioc > Affects Versions: 5.3, 5.4 > Reporter: Denis Stepanov > Attachments: 0001-TAP5-1772-add-test.patch > > > ERROR org.apache.tapestry5.ioc.Registry - java.lang.StackOverflowError > ERROR org.apache.tapestry5.ioc.Registry - Operations trace: > ERROR org.apache.tapestry5.ioc.Registry - [ 1] Resolving object of type > org.test.ServiceA using MasterObjectProvider > ERROR org.apache.tapestry5.ioc.Registry - [ 2] Creating non-proxied instance > of service ServiceA > ERROR org.apache.tapestry5.ioc.Registry - [ 3] Creating plan to instantiate > org.test.ServiceA via public org.test.ServiceA() > ERROR org.apache.tapestry5.ioc.Registry - [ 4] Calculating possible injection > value for field org.test.ServiceA.serviceB(org.test.ServiceB) > ERROR org.apache.tapestry5.ioc.Registry - [ 5] Resolving object of type > org.test.ServiceB using MasterObjectProvider > ERROR org.apache.tapestry5.ioc.Registry - [ 6] Creating non-proxied instance > of service ServiceB > ERROR org.apache.tapestry5.ioc.Registry - [ 7] Creating plan to instantiate > org.test.ServiceB via public org.test.ServiceB() > ERROR org.apache.tapestry5.ioc.Registry - [ 8] Calculating possible injection > value for field org.test.ServiceB.serviceA (org.test.ServiceA) > ERROR org.apache.tapestry5.ioc.Registry - [ 9] Resolving object of type > org.test.ServiceA using MasterObjectProvider > ERROR org.apache.tapestry5.ioc.Registry - [10] Creating non-proxied instance > of service ServiceA > goto 3 -- This message was sent by Atlassian JIRA (v6.3.4#6332)