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)