myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (EXTCDI-205) GroupedConversationContext#isActive crashes with a NPE if FacesContext is not active or null
Date Wed, 29 Jun 2011 21:14:42 GMT
GroupedConversationContext#isActive crashes with a NPE if FacesContext is not active or null
--------------------------------------------------------------------------------------------

                 Key: EXTCDI-205
                 URL: https://issues.apache.org/jira/browse/EXTCDI-205
             Project: MyFaces CODI
          Issue Type: Bug
          Components: JEE-JSF12-Module, JEE-JSF20-Module
    Affects Versions: 0.9.5
            Reporter: Mark Struberg
            Assignee: Mark Struberg


isActive must return false if the FacesContext is null.

This is needed if e.g. a CDI Event gets fired in a servlet filter and will be @Observes by
a bean. In this case the CDI container will only deliver the event to beans in *active* contexts.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message