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

Bernard Labno (JIRA) jira-events at lists.jboss.org
Thu Jun 13 07:51:55 EDT 2013


Bernard Labno created ARQGRA-308:
------------------------------------

             Summary: 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


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