Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeException: cannot perform action, you are not holding a lock #114

Open
RameshJangama opened this issue Sep 5, 2020 · 0 comments
Open

Comments

@RameshJangama
Copy link

I have ported this VideoPlayerManager in my app. Whenever I refresh layout to get new videos from API, next video is not automatically playing. While debuging I found below exception. Has any one seen this problem? Any pointer or suggestions to fix this?

java.lang.RuntimeException: cannot perform action, you are not holding a lock
at com.volokh.danylo.video_player_manager.MessagesHandlerThread.clearAllPendingMessages(SourceFile:98)
at com.volokh.danylo.video_player_manager.manager.SingleVideoPlayerManager.startNewPlayback(SourceFile:212)
at com.volokh.danylo.video_player_manager.manager.SingleVideoPlayerManager.playNewVideo(SourceFile:90)
at chat.chit.com.app.socialDetail.video_manager.VideoItem.playNewVideo(SourceFile:111)
at chat.chit.com.app.socialDetail.video_manager.BaseVideoItem.setActive(SourceFile:64)
at chat.chit.com.app.home.home.HomeFragment.d(SourceFile:897)
at chat.chit.com.app.home.home.f.run(lambda)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7406)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant