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

Naveen Sisupalan commented on OWB-1038:
---------------------------------------

If use @Inject to do dependency injection, everything works as expected. But If 
use programmatic injection with AnnotationLiteral, then inside the producer 
method InjectionPoint is coming as Null.

> InjectionPoint is null when using @Produces. NullPointerException caused by 
> CDI container providing a null InjectionPoint into a producer method.
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OWB-1038
>                 URL: https://issues.apache.org/jira/browse/OWB-1038
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0, 1.2.6
>         Environment: All Environment
>            Reporter: Naveen Sisupalan
>
> Getting InjectionPoint null inside a producer method. Bootstrapped same 
> project with JBoss Weld implementation everything worked as expected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to