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

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

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

Mark Struberg commented on OWB-1121:
------------------------------------

It's really hard to know what you meant with this ticket. 
There is also no info in which version you had this problem.
The case of duplicate classes on the classpath (e.g. jar vs target/classes) is known to work fine.

> 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)