-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Playing a video causes app crash [Android 7 - Lenovo] - caused by NullPointer in SurfaceView.updateWindow #7549
Comments
What's your device and your device's ROM? It seems you removed this part when filling the template. I couldn't reproduce this issue on my device (Honor 9X, EMUI 10.0/Android 10). |
I'm also experiencing this issue. I'm using a Lenovo P2a42 with Android 7.0. |
OS: Android 24(7.0) stock |
This comment has been minimized.
This comment has been minimized.
This comment may be helpful as this issues also have same crash signature. |
This issue is also present in the newest version 21.15. |
This comment has been minimized.
This comment has been minimized.
#7549 (comment) is the same exception as in the issue #7549 (comment) is an unrelated exception Note: It looks like the problem only happens on Android 7.0 (as seen in the crash reports) and on AnalysisThe problem occurs inside the Android framework itself (likely here) however I was unable to located any source/branch which exactly matches the line numbers. So some kind of modification was likely done inside the class by the device manufacturer. The problematic code is no longer present in Android 8+ and was likely fixed by a refactoring, adding a null check and the catching of all exceptions with this commit: TL;DR |
In a duplicate issue the reporter stated that s/he also uses a Lenovo device - I'm now 99% sure that there is a bug in Lenovo's Android 7 OS. |
I have probably the same bug on LineageOS 14.1 Android 7.1.2
|
Reply to: #7549 (comment) (Mod-note: removed quote reply because it requires massive amounts of space) As I remember correctly, the previous versions of the NewPipe versions (before 0.21.14) have worked properly. , and I loved putting something in the background and closing the phone screen. Is this crash only related to the android version? Can not it be another bug? |
→ see above
|
Checklist
Steps to reproduce the bug
1.Open any video.
2. Play video.
3.Change Orientation (either automatically or manually). Or press the back button.
4. App crash
Actual behavior
App crash
Expected behavior
Videos must be played without any carsh
Screenshots/Screen recordings
Not required.
Logs
Exception
Crash log
The text was updated successfully, but these errors were encountered: