[arquillian-issues] [JBoss JIRA] (ARQGRA-413) @InFrame incompatible with GrapheneElement

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Nov 18 06:43:06 EST 2013


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

Lukáš Fryč reassigned ARQGRA-413:
---------------------------------

    Assignee: Juraj Húska


Juraj, could you please assess this issue?
                
> @InFrame incompatible with GrapheneElement
> ------------------------------------------
>
>                 Key: ARQGRA-413
>                 URL: https://issues.jboss.org/browse/ARQGRA-413
>             Project: Arquillian Graphene
>          Issue Type: Bug
>    Affects Versions: 2.0.0.Final
>            Reporter: Jan Dosoudil
>            Assignee: Juraj Húska
>
> {code:title=Exception}
> Caused by: java.lang.NullPointerException
> 	at org.jboss.arquillian.graphene.enricher.ReflectionHelper$3.run(ReflectionHelper.java:214)
> 	at org.jboss.arquillian.graphene.enricher.ReflectionHelper$3.run(ReflectionHelper.java:208)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.jboss.arquillian.graphene.enricher.ReflectionHelper.getFieldsWithAnnotation(ReflectionHelper.java:208)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.enrichFurtherSpecificAnnotation(InFrameEnricher.java:101)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.enrichRecursivelyGrapheneProxyInstances(InFrameEnricher.java:93)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.registerInFrameInterceptor(InFrameEnricher.java:86)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.enrichFurtherSpecificAnnotation(InFrameEnricher.java:107)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.enrichRecursivelyGrapheneProxyInstances(InFrameEnricher.java:93)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.registerInFrameInterceptor(InFrameEnricher.java:86)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.enrichFurtherSpecificAnnotation(InFrameEnricher.java:107)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.enrichRecursivelyGrapheneProxyInstances(InFrameEnricher.java:93)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.registerInFrameInterceptor(InFrameEnricher.java:86)
> 	at org.jboss.arquillian.graphene.enricher.InFrameEnricher.enrich(InFrameEnricher.java:61)
> 	... 68 more
> {code}
> {code}
> @RunWith(Arquillian.class)
> @WarpTest
> @RunAsClient
> public class Test {
> 	@FindBy(id="x")
> 	@InFrame(nameOrId="y")
> 	private GrapheneElement el;
> ....
> }
> {code}
> InFrameEnricher declares DO_NOT_ENRICH_FURTHER Set which is used to ignore some interfaces but doesn't ignore descendants - ignores WebElement but not GrapheneElement.
> ReflectionHelper doesn't handle Interfaces well.

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