myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (TRINIDAD-1376) NullPointerException because RequestContext released after action request.
Date Fri, 13 Feb 2009 18:03:00 GMT

     [ https://issues.apache.org/jira/browse/TRINIDAD-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Scott O'Bryan resolved TRINIDAD-1376.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.11-core

Patch applied and should be in the 1.2.11 release of Trinidad.

> NullPointerException because RequestContext released after action request.
> --------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1376
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1376
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Portlet
>    Affects Versions:  1.2.11-core
>            Reporter: Felix Röthenbacher
>            Assignee: Scott O'Bryan
>             Fix For:  1.2.11-core
>
>         Attachments: TRINIDAD-1376-patch.txt, TRINIDAD-1376.patch
>
>
> RequestContext is released after action request which results in a NullPointerException
in the following render request.
> The problem is in the method GlobalConfiguratorImpl.endRequest(final ExternalContext
externalContext)
> Calling _releaseRequestContext(externalContext); removes the RequestContext from ThreadLocal.
> Any subsequent calls to RequestContext.getCurrentInstance() return null which breaks
the render request.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message