[richfaces-issues] [JBoss JIRA] (RF-13740) Richfaces 4.5 with MyFaces causes NPE on AJAX requests

Matej Novotny (JIRA) issues at jboss.org
Tue Jul 29 02:41:29 EDT 2014


     [ https://issues.jboss.org/browse/RF-13740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Novotny updated RF-13740:
-------------------------------

    Description: 
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}

  was:
When you deploy RichFaces 4.5 application with MyFaces as JSF implementation to Tomcat, any Ajax request will get NPE as 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)



> 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
>            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}



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the richfaces-issues mailing list