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

[BUG] 加急兄弟!null指针问题 #272

Closed
deepface1990 opened this issue Jul 5, 2020 · 3 comments
Closed

[BUG] 加急兄弟!null指针问题 #272

deepface1990 opened this issue Jul 5, 2020 · 3 comments

Comments

@deepface1990
Copy link

进入视频页开始play
马上退出,play release 就crash

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
    at com.befovy.fijkplayer.FijkPlugin.audioManager(FijkPlugin.java:584)
    at com.befovy.fijkplayer.FijkPlugin.requestAudioFocus(FijkPlugin.java:526)
    at com.befovy.fijkplayer.FijkPlugin.audioFocus(FijkPlugin.java:576)
    at com.befovy.fijkplayer.FijkPlayer.onStateChanged(FijkPlayer.java:186)
    at com.befovy.fijkplayer.FijkPlayer.handleEvent(FijkPlayer.java:226)
    at com.befovy.fijkplayer.FijkPlayer.onEvent(FijkPlayer.java:321)
    at tv.danmaku.ijk.media.player.IjkMediaPlayer$EventHandler.handleMessage(Unknown Source:51)
    at android.os.Handler.dispatchMessage(Handler.java:112)
    at android.os.Looper.loop(Looper.java:216)
    at android.app.ActivityThread.main(ActivityThread.java:7625)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
@deepface1990 deepface1990 changed the title [BUG] null指针问题 [BUG] 加急兄弟!null指针问题 Jul 5, 2020
@befovy
Copy link
Owner

befovy commented Jul 5, 2020

什么版本有这个 crash bug 的?

befovy added a commit that referenced this issue Jul 5, 2020
befovy added a commit that referenced this issue Jul 5, 2020
befovy added a commit that referenced this issue Jul 5, 2020
@befovy befovy closed this as completed in 4cdf670 Jul 6, 2020
@befovy
Copy link
Owner

befovy commented Jul 6, 2020

release version 0.8.6

@deepface1990
Copy link
Author

复现场景是这样:进入首页,此时只有1个页面,跳转到视频页,方式是replace,然后再退出视频就会崩溃

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

2 participants