MyFaces CODI
  1. MyFaces CODI
  2. EXTCDI-184

mojarra causes a ContextNotActiveException

    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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Gerhard Petracek
            Reporter:
            Gerhard Petracek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development