You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2016/08/12 05:18:20 UTC

[jira] [Reopened] (OWB-1121) IllegalStateException in case of duplicated classes

     [ https://issues.apache.org/jira/browse/OWB-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek reopened OWB-1121:
-----------------------------------

see the voting thread for v1.6.3

> IllegalStateException in case of duplicated classes
> ---------------------------------------------------
>
>                 Key: OWB-1121
>                 URL: https://issues.apache.org/jira/browse/OWB-1121
>             Project: OpenWebBeans
>          Issue Type: Bug
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>
> 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)
> ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)