Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.5
-
None
Description
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.