-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.4.0.Final
-
None
resolveValueExpression method in org.jboss.arquillian.warp.jsf.enricher.ManagedPropertyTestEnricher is getting null JSF context.
If I debug, my managed bean @PostConstruct is getting a valid FacesContext.getCurrentInstance(); but after that, same call at ManagedPropertyTestEnricher is getting null.
Im running in WLS 12.2.1.2 using arquillian-wls-remote-rest.
@PostConstruct public void init() { int logtoken = Log.inicio("GestiĆ³n Solicitudes Bean - Init"); FacesContext ctx = FacesContext.getCurrentInstance(); Log.info("Context: " + ctx); //<-- Not null
After that, following method is called:
private Object resolveValueExpression(ManagedProperty property, Class<?> expectedType, Object injectionPoint) { FacesContext context = FacesContext.getCurrentInstance(); // <-- Getting null String expression = property.value();