commandButton « Exception « JSF Q&A





1. JSF 2.0 NullPointerException exception after submitting commandButton    stackoverflow.com

After mifrating JSF from 1.2 to 2.0 I begin to receive exception after submitting commandButton:

javax.faces.FacesException: java.lang.NullPointerException at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241) at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156) ...

2. Reason for commandButton error    coderanch.com

3. JSF commandButton errors in Liferay    liferay.com

Hello all, If I use the standard JSF commandButton in my code like this it works: