]
Michal Petrov resolved RF-13740.
--------------------------------
Resolution: Done
Richfaces 4.5 with MyFaces causes NPE on AJAX requests
------------------------------------------------------
Key: RF-13740
URL:
https://issues.jboss.org/browse/RF-13740
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.5.0.Alpha3
Environment: Simpleapp archetype
Firefox/Chrome
Myfaces (I tried with several latest versions)
Tomcat 7
Reporter: Matej Novotny
Assignee: Michal Petrov
Priority: Critical
Fix For: 4.5.0.Beta1
When you deploy RichFaces 4.5 application with MyFaces as JSF implementation to Tomcat,
any Ajax request will get NPE in a response. Therefore the whole application will not
work.
Easiest way to reproduce this is with archetypes - see steps to reproduce.
But it can be also reproducer with Metamer (generate WAR file with myfaced and deploy to
Tomcat 7)
This is how the Ajax response looks like:
{code:xml}
<partial-response>
<error>
<error-name>java.lang.NullPointerException</error-name>
<error-message></error-message>
</error>
<changes>
<extension id="org.richfaces.extension">
<render>output</render>
</extension>
</changes>
</partial-response>
{code}