Reply To: ELResolver cannot handle a null base Object

Splash Forums PrettyFaces Users ELResolver cannot handle a null base Object Reply To: ELResolver cannot handle a null base Object

#25716

Domen91
Participant

Yes it’s works if remove faces module and use CDI.
But if I remove CDI module and use managed beans then I get next error (I have the entire application built on ManagedBean and do not want to rewrite code, yet 🙂 ):


16:03:20,358 ERROR [io.undertow.request] (default task-19) UT005023: Exception handling request to /Meteor/test/a: javax.servlet.ServletException: Error during Rewrite processing. Please inspect stack trace for root cause.
...
Caused by: java.lang.IllegalArgumentException: FacesContext.getCurrentInstance() returned null. EL expressions can only be evaluated in the JSF lifecycle. You should use PhaseAction and PhaseBinding to perform a deferred operation instead.

Tnx,
Domen