Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1121

IllegalStateException in case of duplicated classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      duplicated classes should lead to a warning (with the exact locations of the redundant classes) and not to:
      java.lang.IllegalStateException: It's not allowed to call getBeans(Type, Annotation...) before AfterBeanDiscovery
      at org.apache.webbeans.container.InjectableBeanManager.checkAfterBeanDiscoveryProcessed(InjectableBeanManager.java:402)
      at org.apache.webbeans.container.InjectableBeanManager.getBeans(InjectableBeanManager.java:121)
      ...

      Attachments

        Activity

          People

            struberg Mark Struberg
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: