0 Replies Latest reply on Apr 3, 2014 11:22 PM by pashaturok

    Does CDI work inside OSGI bundle (GF4, WELD)?

    pashaturok

      Maybe this is a stupid question but I have a component class (it's used as service - declarative service) and I can't inject anything in it after several hours. What I do is

      @Inject InterfaceName name;

      Is this my mistake or it's impossible? At the same time I can inject this service into another bundle via @Inject @OSGiService.

      I didn't get any compilation, deployment or runtime error. The only problem that name=null (java.lang.NullPointerException)