Closed sprehn closed 5 years ago
@Reference(policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.MULTIPLE)
void addThingActions(ThingActions thingActions) {
this.thingActions.addThingActions(thingActions); // <-- NPE here
elements.put(thingActions.getClass().getSimpleName(), thingActions.getClass());
}
@Activate
protected void activate() {
busEvent = new ScriptBusEvent(itemRegistry, eventPublisher);
thingActions = new ScriptThingActions(thingRegistry) // <-- thingActions initialized here
@sprehn It seems you have not signed the ECA yet - this would be required for the merge. See https://github.com/eclipse/smarthome/blob/master/CONTRIBUTING.md#legal-considerations.
Signed it now. Can I trigger re-evaluation ip-validation check somehow, or do I need to commit sth again?
No need, I have manually verified your ECA and can confirm that it is signed. So good to merge, thanks!
I don’t mind whatever is more preferred
Raised PR #6827 to discuss futher. it is a bit simpler
Signed-off-by: Sebastian Prehn sebastian.prehn@gmx.de (github: sprehn)