[arquillian-issues] [JBoss JIRA] (ARQGRA-195) Page Fragment Enricher fail with no context to where
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Thu Sep 20 03:35:34 EDT 2012
[ https://issues.jboss.org/browse/ARQGRA-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukáš Fryč updated ARQGRA-195:
------------------------------
Assignee: Juraj Húska
Fix Version/s: 2.0.0.Alpha3
Priority: Blocker (was: Major)
Juraj, could you please propagate exception and add information about field which is being enriched?
> 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