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
We usually call selectedDevice.getCapability(MediaControl.class).subscribePlayState(null);
As you can see the listener is null for this request. Other services check for null listeners.
In my opinion the FireTVService should not add null listeners in the listeners ArrayList.
java.lang.NullPointerException: Attempt to invoke interface method 'void com.connectsdk.service.capability.listeners.ResponseListener.onSuccess(java.lang.Object)' on a null object reference
at com.connectsdk.service.FireTVService$Subscription$1.run(FireTVService.java:636)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5696)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
The text was updated successfully, but these errors were encountered:
We usually call selectedDevice.getCapability(MediaControl.class).subscribePlayState(null);
As you can see the listener is null for this request. Other services check for null listeners.
In my opinion the FireTVService should not add null listeners in the listeners ArrayList.
java.lang.NullPointerException: Attempt to invoke interface method 'void com.connectsdk.service.capability.listeners.ResponseListener.onSuccess(java.lang.Object)' on a null object reference
at com.connectsdk.service.FireTVService$Subscription$1.run(FireTVService.java:636)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5696)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
The text was updated successfully, but these errors were encountered: