0

java.lang.NullPointerException

Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference

解析原始
1 com.android.webview.chromium.WebViewContentsClientAdapter.getDefaultVideoPoster(WebViewContentsClientAdapter.java:596)
2 org.chromium.android_webview.DefaultVideoPosterRequestHandler$$Lambda$0.run(Unknown Source:2)
3 android.os.Handler.handleCallback(Handler.java:808)
4 android.os.Handler.dispatchMessage(Handler.java:101)
5 android.os.Looper.loop(Looper.java:166)
6 android.app.ActivityThread.main(ActivityThread.java:7425)
7 java.lang.reflect.Method.invoke(Native Method)
8 com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
9 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

1个回答

0

https://blog.csdn.net/Ltp_zy/... 找到了一个解决方案,不知道大家是否用过,先暂时回答一下

撰写答案