ContextNotActiveException ------------------------- Key: EXTCDI-184 URL: https://issues.apache.org/jira/browse/EXTCDI-184 Project: MyFaces CODI Issue Type: Bug Reporter: Gerhard Petracek Priority: Trivial
this is a placeholder issue for all kinds of ContextNotActiveExceptions in combination with codi scopes. if further issues will be reported, we can use this issue as a reference. 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. if your application is ok and you see this exception, contact the weld and/or mojarra community because it can't be a codi bug. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira