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

Arne Limburg commented on OWB-553:
----------------------------------

Btw it is the injection that causes the NullPointerException not the 
provider.get()

> 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.2.0
>
>         Attachments: 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

Reply via email to