Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

StackOverflowError when having circular references on singleton @EBean #770

Description

@anthony-foulfoin

If we have 3 singleton @ebean classes A, B and C, and if A injects B, B injects C, and C injects A (A -> B -> C -> A), androidannotations crashes and leads to a StackOverflowError.

Activity

  1. yDelouis commented on Oct 20, 2013

    @yDelouis
    Contributor

    Are your beans singletons ?
    If not, I don't think it's an AA bug but a problem of architecture.

  2. DayS commented on Oct 20, 2013

    @DayS
    Contributor

    Yep. This is a known issue happening with singleton beans. But I just can't retrieve the issue about this point...
    Could you confirm that you're using singleton and update your issue title and message ?

  3. anthony-foulfoin commented on Oct 20, 2013

    @anthony-foulfoin
    Author

    I confirm i'm only using singletons

  4. DayS commented on Nov 27, 2013

    @DayS
    Contributor

    Merged. Thanks for the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions