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

Gerhard Petracek resolved EXTCDI-184.
-------------------------------------

    Resolution: Fixed

> mojarra causes a ContextNotActiveException
> ------------------------------------------
>
>                 Key: EXTCDI-184
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-184
>             Project: MyFaces CODI
>          Issue Type: Bug
>    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

        

Reply via email to