[arquillian-issues] [JBoss JIRA] (ARQGRA-195) Page Fragment Enricher fail with no context to where

Juraj Húska (JIRA) jira-events at lists.jboss.org
Fri Sep 21 09:05:35 EDT 2012


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

Juraj Húska commented on ARQGRA-195:
------------------------------------

I will look on all exceptions handling I will try to do it more detailed.
                
> Page Fragment Enricher fail with no context to where
> ----------------------------------------------------
>
>                 Key: ARQGRA-195
>                 URL: https://issues.jboss.org/browse/ARQGRA-195
>             Project: Arquillian Graphene
>          Issue Type: Enhancement
>          Components: core
>    Affects Versions: 2.0.0.Alpha2
>            Reporter: Aslak Knutsen
>            Assignee: Juraj Húska
>            Priority: Blocker
>             Fix For: 2.0.0.Alpha3
>
>
> {code}
> @FindBy(xpath = "//a[@id='name']")
> private String name;
> {code}
> casue:
> {code}
> java.lang.IllegalStateException: cannot set referenced element!
> 	at org.jboss.arquillian.graphene.enricher.Factory.initializePageFragment(Factory.java:106)
> 	at org.jboss.arquillian.graphene.enricher.PageFragmentsEnricher.initPageFragmentsFields(PageFragmentsEnricher.java:163)
> 	at org.jboss.arquillian.graphene.enricher.PageFragmentsEnricher.initFieldsAnnotatedByFindBy(PageFragmentsEnricher.java:78)
> 	at org.jboss.arquillian.graphene.enricher.PageFragmentsEnricher.enrich(PageFragmentsEnricher.java:57)
> 	at org.jboss.arquillian.test.impl.TestInstanceEnricher.enrich(TestInstanceEnricher.java:52)
> ....
> {code}
> The exception should contain which Field was attempted injected and of what type

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