[ 
https://issues.apache.org/jira/browse/MYFACES-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905466#action_12905466
 ] 

Matthias Weßendorf commented on MYFACES-2906:
---------------------------------------------

we create Mock since FC is not present at this time


  private static ELContext _getELContext(Application application)
  {
    FacesContext fContext = FacesContext.getCurrentInstance();

    if (fContext != null)
    {
      return fContext.getELContext();
    }
    else
    {
      // use a dummy ELContext if FacesContext is null
      return new MockELContext(application);
    }
  }


> NullPointerException in ResolverBuilderBase.sortELResolvers()
> -------------------------------------------------------------
>
>                 Key: MYFACES-2906
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2906
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.2-SNAPSHOT
>            Reporter: Matthias Weßendorf
>            Assignee: Jakob Korherr
>
> Using 2.0.2-SNAPSHOT and Trinidad trunk (2.0.0.3-SNAPSHOT) I do get NPE in 
> the ResolverBuilderBase class.
> However, there was an overhaul in MYFACES-2873

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to