recloudstream / recloudstream/cloudstream

App keeps crashing on Google TV, became unusable

Open
#1,736 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug possible duplicate
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...

  1. Launching the app and while loading the previous selected provider it crashes.
  2. Then the app relaunches itself in safe mode. In this state, going to settings page also crashes the app.
  3. 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.

Image

Image

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.