You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(This bug) Injection wasn't working because SDKClient was instantiated before the injection. This wasn't seen in the HelloWorld test case because of the initialization order was different.
(Other bugs) The Injector was becoming unreachable due to GC and we were losing reference to all injected objects.
What is the bug?
SDKClient use of
execute()
implemented in #491 fails with NPE (actions
is null) here:The root cause is that we incorrectly attempt to access an injected
actions
map:However, the
SDKClient
was instantiated before injection so the map wasn't injected.How can one reproduce the bug?
execute()
method fromSDKClient
orSDKRestClient
.What is the expected behavior?
actions.get(action)
returns an instance of a class implementingTransportAction
.Do you have any additional context?
The implementation was ported from
NodeClient
with this field populated by theinitialize()
method (and not by injection):This code from
Node.java
was not included inExtensionsRunner
shortly after injection completes, so porting it should fix this bug:The text was updated successfully, but these errors were encountered: