recloudstream / recloudstream/cloudstream
App keeps crashing on Google TV, became unusable
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 10.7k
- Forks
- 1.1k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 15
Description
Steps to reproduce
Device Name: Google TV
Device Model: acer V Pro Series
Model No.: AR32QDXGU2841AT
This is what's happening...
- Launching the app and while loading the previous selected provider it crashes.
- Then the app relaunches itself in safe mode. In this state, going to settings page also crashes the app.
- Repeat.
Expected behavior
App should load the provider, if it can't load let the user choose. Don't lockout user by preventing access to the app settings.
Actual behavior
The app became unusable, it's crashing without any hint about the actual issue. I can't access the settings page to collect logcat and it's a pain to extract it from the TV using adb.
Important things to mention after trying everything...
- App resetting doesn't fix the problem.
- Reinstallation doesn't fix it.
- Pre-release version also having same problem.
- Even factory resetting the TV won't fix the issue.
Below screenshots are after factory resetting and fresh installation of the app, didn't installed any provider.
This issue kept happening since past 4-5 days.. (without doing anything)
Cloudstream version and commit hash
v4.5.2 d954158
Android version
Android TV OS 14
Logcat
Can't access settings...
Other details
Crash info : (This is OCR version; typos are expected)
Currently loading extension: none Fatal exception on thread main (2)
[Java.lang.NullPointerException](http://java.lang.nullpointerexception/): Attempt to invoke virtual method 'Int [android.view.InputDevice.getVendorid](http://android.view.inputdevice.getvendorid/)()' on a null object reference
at [android.view.View.onResolvePointerIcon](http://android.view.view.onresolvepointericon/) ([View.java:29569](http://view.java:29569/))
at
[android.view.ViewGroup.onResolvePointerlcon](http://android.view.viewgroup.onresolvepointerlcon/) ([ViewGroup.java:2078](http://viewgroup.java:2078/))
at
[android.view.ViewGroup.dispatchResolvePointerIcon](http://android.view.viewgroup.dispatchresolvepointericon/)([ViewGroup.java:2092](http://viewgroup.java:2092/))
at
[android.view.ViewGroup.onResolvePointerIcon](http://android.view.viewgroup.onresolvepointericon/)([ViewGroup.java:2067](http://viewgroup.java:2067/))
at
[android.view.ViewGroup.dispatchResolvePointerIcon](http://android.view.viewgroup.dispatchresolvepointericon/)([ViewGroup.java:2092](http://viewgroup.java:2092/))
at
[android.view.ViewGroup.onResolvePointerIcon](http://android.view.viewgroup.onresolvepointericon/) ([ViewGroup.java:2067](http://viewgroup.java:2067/))
at
android.view.ViewGroup.dispatchResolvePointerIcon(ViewGroup.java:2092)
at
android.view.ViewGroup.onResolvePointerIcon(ViewGroup.java:2067)
at
android.view.ViewGroup.dispatchResolvePointerIcon(ViewGroup.java:2092)
at
android.view.ViewGroup.onResolvePointerIcon(ViewGroup.java:2067)
at
android.view.ViewGroup.dispatchResolvePointerIcon(ViewGroup.java:2092)
at
android.view.ViewGroup.onResolvePointerIcon(ViewGroup.java:2067)
at
android.view.ViewGroup.dispatchResolvePointerIcon(ViewGroup.java:2092)
at
android.view.ViewGroup.onResolvePointerIcon(ViewGroup.java:2067)
at
[android.view.ViewRootImpl.updatePointerlcon](http://android.view.viewrootimpl.updatepointerlcon/)([ViewRootImpl.java:7116](http://viewrootimpl.java:7116/))
at
[android.view.ViewRootImpl.resetPointerIcon](http://android.view.viewrootimpl.resetpointericon/)([ViewRootImpl.java:7092](http://viewrootimpl.java:7092/))
at [android.view.ViewRootImpl](http://android.view.viewrootimpl/).-$ $Nest$mresetPointerlcon(Unknown Source:0)
at
[android.view.ViewRootImpl](http://android.view.viewrootimpl/)$[ViewRootHandler.handleMessagelmpl](http://viewroothandler.handlemessagelmpl/)([ViewRootImpl.java:6046](http://viewrootimpl.java:6046/))
at
[android.view.ViewRootImpl](http://android.view.viewrootimpl/)$[ViewRootHandler.handleMessage](http://viewroothandler.handlemessage/)([ViewRootImpl.java:5862](http://viewrootimpl.java:5862/))
at [android.os.Handler.dispatchMessage](http://android.os.handler.dispatchmessage/)([Handler.java:106](http://handler.java:106/))
at [android.os.Looper.loopOnce](http://android.os.looper.looponce/)([Looper.java:205](http://looper.java:205/))
at [android.os.Looper.loop](http://android.os.looper.loop/)([Looper.java:294](http://looper.java:294/))
at [android.app.ActivityThread.main](http://android.app.activitythread.main/)([ActivityThread.java:8177](http://activitythread.java:8177/))
at [java.lang.reflect.Method.invoke](http://java.lang.reflect.method.invoke/)(Native Method)
at
[com.android.internal.os.RuntimeInit](http://com.android.internal.os.runtimeinit/)$[MethodAndArgsCaller.run](http://methodandargscaller.run/)([RuntimeInit.java:552](http://runtimeinit.java:552/))
at [com.android.internal.os.ZygoteInit.main](http://com.android.internal.os.zygoteinit.main/)([ZygoteInit.java:971](http://zygoteinit.java:971/) )
Acknowledgements
- I am sure my issue is related to the app and NOT some extension.
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
- I have written a short but informative title.
- I have updated the app to pre-release version Latest.
- I will fill out all of the requested information in this form.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is identified in the report. Start by reproducing the crash on Android TV OS 14 and inspect the stack beginning at View.onResolvePointerIcon; done means the app can load or select a provider and the Settings page remains accessible without crashing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100