Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0, 2.0.0, 3.0.0-alpha
-
None
-
None
Description
The Bridge's FacesContext.release dereferences the return from request.getAttribute(BridgeImpl.PREEXISTING_ATTRIBUTE_NAMES) without checking to see if its null. Now it would only be null if the bridge didn't create/release FC but there seems to be at least one situation in which this has occurred and in any case the code should be written correctly to avoid the potential problem/NPE.