Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-184

mojarra causes a ContextNotActiveException

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            gpetracek Gerhard Petracek
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: