I'm working on a JSF 2 project. Got some javascript/jQuery functions on client side, after calling for all these functions <a4j:commandButton>
is not working. I get
Servlet.service() for servlet Faces Servlet threw exception: java.lang.NullPointerException
at com.sun.faces.context.PartialViewContextImpl.createPartialResponseWriter(PartialViewContextImpl.java:441)
If I change <a4j:commandButton>
to <h:commandButton>
, then everything works fine, but I need the a4j
because of oncomplete
attribute.
How can I debug this issue? It looks like problem with javascript event, that prevents ajax call.