[jboss-jira] [JBoss JIRA] (WFLY-1816) StringIndexOutOfBoundsException in JSF web-app after commit for WFLY-476

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Wed Aug 28 03:27:26 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799761#comment-12799761 ] 

Jozef Hartinger commented on WFLY-1816:
---------------------------------------

Firstly, the commit you reference introduces support for CDI 1.1 bean archives. Before the commit bean-discovery-mode="annotated" in your beans.xml had no effect.

With implicit bean archives recognized by WildFly it seems correct to me that your @Named classes are not being picked up as beans because they do not declare a bean defining annotation (scope). Although a bean defining annotation is declared on a superclass, the CDI specification really requires a bean class itself to declare a bean defining annotation.
                
> StringIndexOutOfBoundsException in JSF web-app after commit for WFLY-476
> ------------------------------------------------------------------------
>
>                 Key: WFLY-1816
>                 URL: https://issues.jboss.org/browse/WFLY-1816
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 8.0.0.Alpha4
>            Reporter: Frank Langelage
>            Assignee: Stuart Douglas
>
> The commit c1959b31c0f5320d3ee7992e8a545ba497433162 breaks my web-app.
> With
>     git pull && git reset --hard 861a9ceaa80274edaf32f705887f0bb38068b68d
> my web-app works fine.
> But with
>     git pull && git reset --hard c1959b31c0f5320d3ee7992e8a545ba497433162 
> my web-app starts, index.xhtml renders. But when clicking one of the links the navigation fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list