You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (Commented) (JIRA)" <ji...@apache.org> on 2012/03/09 21:14:58 UTC

[jira] [Commented] (OWB-567) Lookup of Provider results in NullPointerException on get()

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

Mark Struberg commented on OWB-567:
-----------------------------------

currently trying to figure out if this is supposed to be supported in the spec at all.
The wording is a bit ambiguous. Jozef Harting will test if this works in Weld. If not, then we don't have any pressure ;)

In any case, you can just lookup the un-parameterized Instance.class or Provider.class Bean and then just do a select(ProvidedBean.class).get();

Thus I'm downgrading this to a lower prio.
                
> Lookup of Provider results in NullPointerException on get()
> -----------------------------------------------------------
>
>                 Key: OWB-567
>                 URL: https://issues.apache.org/jira/browse/OWB-567
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.1.0
>            Reporter: Arne Limburg
>            Assignee: Mark Struberg
>             Fix For: 1.2.0
>
>         Attachments: OWB-567.zip
>
>
> Lookup of Provider results in NullPointerException on get()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira