You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2010/07/21 08:14:50 UTC

[jira] Commented: (OWB-408) NPE in WebBeansELResolver

    [ https://issues.apache.org/jira/browse/OWB-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890565#action_12890565 ] 

Gurkan Erdogdu commented on OWB-408:
------------------------------------

Actually, JSF implementation must set ELContextStrore#ThreadLocal instance using OwbElContextListener. JSF specification says that after creating of ELContext, it must call all ELContext listeners. I think that this is not OWB fault!

But your patch prevent NullPointerException with guarding condition on destroy. Altough it prevents the exception, causes are still there, because dependent beans must be destroyed at the end of EL evaulation! Therefore I will mark this issue as INVALID

> NPE in WebBeansELResolver
> -------------------------
>
>                 Key: OWB-408
>                 URL: https://issues.apache.org/jira/browse/OWB-408
>             Project: OpenWebBeans
>          Issue Type: Bug
>            Reporter: Gerhard Petracek
>            Assignee: Gurkan Erdogdu
>         Attachments: OWB-408.patch
>
>
> OwbElContextListener gets called in combination with myfaces-core but it's ignored in combination with mojarra (tested with mojarra 2).
> that leads to a NPE in WebBeansELResolver (there is no instance of ELContextStore)
> even though it looks like an issue of mojarra it would be nice to have a fallback or a completely different solution for it.

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