You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2015/06/02 00:59:18 UTC

[jira] [Commented] (TAP5-1772) IOC Circular dependency results in StackOverflowError

    [ https://issues.apache.org/jira/browse/TAP5-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568192#comment-14568192 ] 

Howard M. Lewis Ship commented on TAP5-1772:
--------------------------------------------

It's the non-proxied part that's causing the problem.

> 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
>            Reporter: Denis Stepanov
>
> 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)