getslingscripthelper().getservice() returns null.
I made sure the bundle and the service is active. However, instead of active, it has the number 16.. not sure if this has anything to do with it.
I tried deleting the bundle and reinstalling with the package manager.
Any help would be much appreciated!
SlingScriptHelper#getServicetakes an argument. What service are you trying to get? The class you're passing as an argument will determine the result of the call, as will the status of all services. Thenullimplies that the service isn't active. Perhaps you're using the name of an implementation class instead of the interface used to register it? As for the 16, I believe this is the internal representation of a Component being active, not sure why it's displayed this way. - toniedzwiedz