weeks ago we are migrating our project from JSF 1.2 to JSF 2.0 and we are already comparing MyFaces and Mojarra implementations.
I've almost done a prototype on Mojarra 2.1.7 and it works quite well, but when trying to make it work with MyFaces impl (2.1.6) it doesn't (pom modified to not mix Mojarra and MF implementations).
The fact is that when I make an ajax request it rerenders the view, but when I try to make another action with request (ajax, navigation) it does nothing.
In FireBugs, after the second action it throws this error:
<partial-response>
<error>
<error-name>java.lang.IllegalStateException</error-name>
<error-message><![CDATA[java.lang.NullPointerException: state]]></error-message>
</error>
</partial-response>
My beans are ViewScoped and I'm using Primefaces components(if it helps...), so I don't know why is the state null after first ajax request. Anyone knows the solution?
Thanks, Carlos