You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Arne Limburg (JIRA)" <ji...@apache.org> on 2011/03/25 14:44:06 UTC

[jira] [Resolved] (OWB-553) Injection of javax.inject.Provider fails with OWBInjector

     [ https://issues.apache.org/jira/browse/OWB-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arne Limburg resolved OWB-553.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2.0)
                   1.1.0

Hi Mark,
seems that you have fixed this already with 1.1.0

> Injection of javax.inject.Provider fails with OWBInjector
> ---------------------------------------------------------
>
>                 Key: OWB-553
>                 URL: https://issues.apache.org/jira/browse/OWB-553
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Injection and Lookup
>    Affects Versions: 1.0.0
>            Reporter: Arne Limburg
>            Assignee: Mark Struberg
>            Priority: Critical
>             Fix For: 1.1.0
>
>         Attachments: OWB-553.patch, provider-bug.zip
>
>
> When a javax.inject.Provider is injected with the OWBInjector access to provider.get() results in a NullPointerException. The consequence is, that javax.inject.Providers cannot be injected into ServletListeners, Servlets and Filters (tested with Tomcat 6) and EJBs (guessed).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira