[arquillian-issues] [JBoss JIRA] (ARQGRA-308) Should throw exception if page fragment not instantiable

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Sep 10 08:26:03 EDT 2013


     [ https://issues.jboss.org/browse/ARQGRA-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated ARQGRA-308:
------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done

    
> Should throw exception if page fragment not instantiable
> --------------------------------------------------------
>
>                 Key: ARQGRA-308
>                 URL: https://issues.jboss.org/browse/ARQGRA-308
>             Project: Arquillian Graphene
>          Issue Type: Bug
>    Affects Versions: 2.0.0.Alpha4
>            Reporter: Bernard Labno
>            Assignee: Juraj Húska
>             Fix For: 2.0.0.Beta1
>
>
> If page fragment is inner final class then it's not injected into field annotated with @FindBy and no exception is thrown.
> Graphene should throw exception that desired class cannot be instantiated.
> Right now user spends lots of time debugging and wondering if the selector is wrong. It's hard to find out that it's the "final" word to be blamed here:
> public static final class InvitedSupplier

--
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 arquillian-issues mailing list