Service object( @Reference private RenditionMaker renditionMaker;) is coming null when I try to include it in OSGi component, but working fine in OOTB CreateThumbnailProcess.java OSGi component.
Solved! Go to Solution.
Views
Replies
Total Likes
Try doing this.
1. delete the bundle. Restart your instance and install the bundle and see if it picks up the reference.
2. Try referencing the service without the annotation. refer [1] and see if it solves your problem
[1] http://adobeaemclub.com/osgi-services-without-annotation/
Views
Replies
Total Likes
could you please post entire error/exception stack trace.
Views
Replies
Total Likes
Try doing this.
1. delete the bundle. Restart your instance and install the bundle and see if it picks up the reference.
2. Try referencing the service without the annotation. refer [1] and see if it solves your problem
[1] http://adobeaemclub.com/osgi-services-without-annotation/
Views
Replies
Total Likes
Hi,
can you post the relevant code (specially the defintion including the annotations) as well?
Views
Replies
Total Likes