You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2011/07/06 13:38:17 UTC
[jira] [Reopened] (EXTCDI-184) mojarra causes a
ContextNotActiveException
[ https://issues.apache.org/jira/browse/EXTCDI-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek reopened EXTCDI-184:
-------------------------------------
> mojarra causes a ContextNotActiveException
> ------------------------------------------
>
> Key: EXTCDI-184
> URL: https://issues.apache.org/jira/browse/EXTCDI-184
> Project: MyFaces CODI
> Issue Type: Bug
> Components: JEE-JSF12-Module, JEE-JSF20-Module
> Affects Versions: 0.9.5
> Reporter: Gerhard Petracek
> Priority: Minor
> Fix For: 1.0.0
>
>
> ContextNotActiveException is caused by an access of a context and #isActive returns false.
> the implementation of #isActive for codi scopes is:
> return FacesContext.getCurrentInstance().getExternalContext().getSession(false) != null;
> that means a session is required and you just have to ensure that your application doesn't close it and tries to access a codi scope afterwards.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira