According this documentation link:
SlingScriptHelper.getService returns null if service is not availibale.
Can you explain conditions when service is unavailble and how to force it to become availible ?
edit:
components view:
relevant log:
22.09.2014 19:13:17.077 *ERROR* [FelixStartLevel] ****** bind method [bindResolverFactory] not found; Component will fail
22.09.2014 19:13:17.078 *ERROR* [FelixStartLevel] ****** Error during instantiation of the implementation object (java.lang.VerifyError: Expecting a stackmap frame at branch target 13
Exception Details:
Location:
*******.unbindConfigurator(L********Configurator;)V @5: if_acmpne
Reason:
Expected stackmap frame at this location.
Bytecode:
0000000: 2ab4 0086 2ba6 0008 2a01 b500 86b1
) java.lang.VerifyError: Expecting a stackmap frame at branch target 13
Exception Details:
Location:
*****.unbindConfigurator(L*****;)V @5: if_acmpne
Reason:
Expected stackmap frame at this location.
Bytecode:
0000000: 2ab4 0086 2ba6 0008 2a01 b500 86b1