[
https://issues.jboss.org/browse/ARQGRA-310?page=com.atlassian.jira.plugin...
]
Lukáš Fryč updated ARQGRA-310:
------------------------------
Fix Version/s: 2.0-Tracking
(was: 2.0.1.Final)
initialized public field of page object is reinitialized to null
----------------------------------------------------------------
Key: ARQGRA-310
URL:
https://issues.jboss.org/browse/ARQGRA-310
Project: Arquillian Graphene
Issue Type: Bug
Reporter: Jiří Štefek
Assignee: Juraj Húska
Priority: Critical
Fix For: 2.0-Tracking
When one has a page object with initialized public field like this:
https://github.com/richfaces/richfaces-qa/blob/212c0bf1c97de103e4fb381319...
and he uses it in test:
https://github.com/richfaces/richfaces-qa/blob/212c0bf1c97de103e4fb381319...
then he gets:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/RichFaces/view/5.0/...
The cause is, that the field is reinitialized to null in that @Page object.
There is an easy workaround: do not use public fields in @Page objects.
--
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