[webbeans-issues] [JBoss JIRA] Closed: (WBRI-183) Producer method's parameter InjectionPoint is null , when Manager is injected to producer class.

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat Mar 14 13:11:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/WBRI-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WBRI-183.
--------------------------

    Resolution: Done
      Assignee: Pete Muir


Thanks, fixed with a Stack :-)

> Producer method's parameter InjectionPoint is null , when Manager is injected to producer class.
> ------------------------------------------------------------------------------------------------
>
>                 Key: WBRI-183
>                 URL: https://jira.jboss.org/jira/browse/WBRI-183
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Producer beans
>    Affects Versions: 1.0.0.BETA1
>            Reporter: Takeshi Kondo
>            Assignee: Pete Muir
>             Fix For: 1.0.0.BETA2
>
>         Attachments: managerPatch.patch, test_code.patch
>
>
> public class ManagerProducer
> {
>    @Current
>    Manager manager;
>    @Produces
>    Integer create(InjectionPoint point)
>    {
>       assert point != null;
>       assert manager != null;
>       return 10;
>    }
> }
> --------
> This test code failed, because ManagerProducer#create method's parameter Injectionpoint is null.
> It arise if Manager is injected to producer class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list