Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-788

Circular dependency error with singleton instances

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 1.1.0.CR1
    • None
    • None

    Description

      Exception in thread "main" org.jboss.weld.exceptions.DeploymentException: WELD-001443 Pseudo scoped bean has circular dependencies. Dependency path [Managed Bean [class org.jboss.seam.forge.shell.plugins.builtin.LsMavenPomPlugin] with qualifiers [@Any @Default], Managed Bean [class org.jboss.seam.forge.shell.ShellImpl] with qualifiers [@Any @Default], Managed Bean [class org.jboss.seam.forge.shell.command.fshparser.FSHRuntime] with qualifiers [@Any @Default], Managed Bean [class org.jboss.seam.forge.shell.ShellImpl] with qualifiers [@Any @Default]]

      Weld is complaining about circular dependencies between two classes (this is from Seam Forge), FSHRuntime and ShellImpl, which are both @Singleton. Given that, this error would appear to be misplaced.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            cbrock_jira Mike Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: