chkal/pf-issue-test — Issue #43: nullPointerException in EAR application - cannot find pretty-filter in the app that DOES NOT uses it
Author: chkal
Created: 2012-03-06 07:22:36+00:00
State: open

Originally filed by **rafaelt...@gmail.com** on 2010-05-14T18:53:21

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=42

NOTE: For fastest resolution when reporting an issue, please provide attach
example project or file *with sources* that reproduces the problem.

What steps will reproduce the problem?
1. create app1 that doesn't use pretty-faces;
2. create app2 that uses pretty-faces
3. put them inside an EAR application
4. deploy the EARapp on the server
5. access the app1 via browser

What is the expected output? What do you see instead?
The application is excepted to run with no problems. However,
nullPointerException is thrown. It says it can't find the Pretty Filter;
but this filter is not mapped in this application's web.xml because it does
not uses pretty-faces.

What version of PrettyFaces are you using? On what server and version,
version of JSF, and other relevant technologies?
PrettyFaces version: 1.2.6
+ JSF: 1.2
+ Facelets
+ RichFaces
+ GlassFish v2
+ Linux

Please provide any additional information below.