[
https://issues.jboss.org/browse/ARQGRA-410?page=com.atlassian.jira.plugin...
]
Lukáš Fryč commented on ARQGRA-410:
-----------------------------------
Thanks for investigations, Juraj, we will wait for clarification of ARQ-1586 then.
NPE when calling Graphene#createPageFragment inside TestNG
@BeforeMethod or @AfterMethod
----------------------------------------------------------------------------------------
Key: ARQGRA-410
URL:
https://issues.jboss.org/browse/ARQGRA-410
Project: Arquillian Graphene
Issue Type: Bug
Affects Versions: 2.0.0.Final
Reporter: Jiri Locker
Assignee: Juraj Húska
Fix For: 2.0.1.Final
Stack trace:
{noformat}
org.jboss.arquillian.graphene.enricher.exception.PageFragmentInitializationException:
java.lang.NullPointerException
at
org.jboss.arquillian.graphene.enricher.PageFragmentEnricher.createPageFragment(PageFragmentEnricher.java:171)
at
org.jboss.arquillian.graphene.DefaultGrapheneRuntime.createPageFragment(DefaultGrapheneRuntime.java:116)
at org.jboss.arquillian.graphene.Graphene.createPageFragment(Graphene.java:263)
at
org.jboss.qa.brms.workbench.AbstractPerspective.<init>(AbstractPerspective.java:56)
at org.jboss.qa.brms.workbench.HomePerspective.<init>(HomePerspective.java:12)
at org.jboss.qa.brms.DesignerTestWrapper.login(DesignerTestWrapper.java:65)
at org.jboss.qa.brms.dashboard.DashboardsMenuTest.init(DashboardsMenuTest.java:20)
Caused by: java.lang.NullPointerException
at
org.jboss.arquillian.graphene.enricher.WebElementEnricher.enrich(WebElementEnricher.java:68)
at
org.jboss.arquillian.graphene.enricher.AbstractSearchContextEnricher.enrichRecursively(AbstractSearchContextEnricher.java:74)
at
org.jboss.arquillian.graphene.enricher.PageFragmentEnricher.createPageFragment(PageFragmentEnricher.java:156)
... 36 more
... Removed 30 stack frames
{noformat}
--
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